sandbox/Dockerfile

15 lines
289 B
Docker
Raw Normal View History

2019-08-03 23:22:25 +00:00
FROM phusion/baseimage:0.11
CMD ["/sbin/my_init"]
2016-04-08 11:43:57 +00:00
2016-04-17 23:18:32 +00:00
ADD ./sources.list /etc/apt/sources.list
2019-08-03 23:22:25 +00:00
# setup
2016-04-08 11:43:57 +00:00
ADD ./run.sh /tmp/run.sh
RUN bash /tmp/run.sh && rm /tmp/run.sh
2019-08-03 23:22:25 +00:00
# enable ssh
RUN rm -f /etc/service/sshd/down
#cleanup
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*