sandbox/Dockerfile
sneak 2435201c80
Some checks failed
continuous-integration/drone/push Build is failing
use default dind network with public dns
2020-02-16 06:21:32 -08:00

22 lines
378 B
Docker

FROM ubuntu:focal
ARG USERNAME_TO_ADD=user
ARG UID_TO_ADD=1000
ARG GID_TO_ADD=1000
ARG UBUNTU_MIRROR_URL=mirror://mirrors.ubuntu.com/mirrors.txt
# setup
ADD ./run.sh /tmp/run.sh
RUN bash /tmp/run.sh && rm /tmp/run.sh
#cleanup
RUN apt-get clean && \
rm -rf \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/* \
/etc/ssh/ssh_host_*_key
EXPOSE 22