| 1 |
# Build time |
| 2 |
FROM ubuntu:groovy as build |
| 3 |
|
| 4 |
ENV DEBIAN_FRONTEND noninteractive |
| 5 |
RUN apt-get update |
| 6 |
|
| 7 |
RUN apt-get -y install g++ libssl-dev libz-dev make python ninja-build |
| 8 |
RUN apt-get -y install cmake |
| 9 |
RUN apt-get -y install gdb |
| 10 |
|
| 11 |
COPY . /opt |
| 12 |
WORKDIR /opt |
| 13 |
|
| 14 |
# |
| 15 |
# To use the container interactively for debugging/building |
| 16 |
# 1. Build with |
| 17 |
# CMD ["ls"] |
| 18 |
# 2. Run with |
| 19 |
# docker run --entrypoint sh -it docker-game-eng-dev.addsrv.com/ws:9.10.6 |
| 20 |
# |
| 21 |
|
| 22 |
RUN ["make", "test"] |
| 23 |
# CMD ["ls"] |