sandbox/Dockerfile

22 lines
378 B
Docker
Raw Normal View History

2020-02-16 13:50:24 +00:00
FROM ubuntu:focal
2016-04-08 11:43:57 +00:00
2020-02-16 13:50:24 +00:00
ARG USERNAME_TO_ADD=user
ARG UID_TO_ADD=1000
ARG GID_TO_ADD=1000
2020-02-16 13:53:07 +00:00
ARG UBUNTU_MIRROR_URL=mirror://mirrors.ubuntu.com/mirrors.txt
2016-04-17 23:18:32 +00:00
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
#cleanup
2019-08-05 02:02:42 +00:00
RUN apt-get clean && \
rm -rf \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/* \
/etc/ssh/ssh_host_*_key
EXPOSE 22