-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (37 loc) · 1.51 KB
/
Dockerfile
File metadata and controls
37 lines (37 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ubuntu:16.04
RUN apt-get update -y
RUN apt-get install -y --no-install-recommends wget ca-certificates
RUN wget -qO - http://www.dotdeb.org/dotdeb.gpg | apt-key add -
RUN apt-get install -y apt-utils
RUN apt-get install -y --no-install-recommends software-properties-common
RUN add-apt-repository -y ppa:allegro/5.2
RUN apt-get update
RUN apt-get install -y gcc
RUN apt-get install -y g++
RUN apt-get install -y gdb
RUN apt-get install -y libsdl-dev
RUN apt-get install -y liballegro4-dev
RUN apt-get install -y --no-install-recommends net-tools
RUN apt-get install -y --no-install-recommends netcat
RUN apt-get install -y --no-install-recommends vim
RUN apt-get install -y --no-install-recommends make
RUN apt-get install -y --no-install-recommends python
RUN apt-get install -y --no-install-recommends libncurses5
RUN apt-get install -y --no-install-recommends libncurses5-dev
RUN apt-get install -y --no-install-recommends libgtk2.0-0
RUN apt-get install -y --no-install-recommends libgtk2.0-common
RUN apt-get install -y --no-install-recommends libwxgtk3.0-dev
RUN apt-get install -y --no-install-recommends git
#RUN git clone https://github.com/virtualagc/virtualagc.git
RUN git clone https://github.com/astrosec/virtualagc.git
RUN cd virtualagc && make
#Entry point runs at docker container startup
ADD doit.sh /
ARG KEY_VAR
ENV DEPLOY_ENV=${KEY_VAR}
RUN chmod 777 doit.sh
ENTRYPOINT ["/doit.sh"]
#CMD args are passed to ENTRYPOINT command and is overwritten when you pass your own args to docker
#CMD ["-c"]
EXPOSE 19697
EXPOSE 19698