24 lines
474 B
Docker
24 lines
474 B
Docker
# Build time
|
|
FROM ubuntu:groovy as build
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get update
|
|
|
|
RUN apt-get -y install g++ libssl-dev libz-dev make python ninja-build
|
|
RUN apt-get -y install cmake
|
|
RUN apt-get -y install gdb
|
|
|
|
COPY . /opt
|
|
WORKDIR /opt
|
|
|
|
#
|
|
# To use the container interactively for debugging/building
|
|
# 1. Build with
|
|
# CMD ["ls"]
|
|
# 2. Run with
|
|
# docker run --entrypoint sh -it docker-game-eng-dev.addsrv.com/ws:9.10.6
|
|
#
|
|
|
|
RUN ["make", "test"]
|
|
# CMD ["ls"]
|