sandbox/Dockerfile
sneak f6efe03551
Some checks reported errors
continuous-integration/drone/push Build was killed
use mirror:// protocol for apt
2020-02-16 05:53:07 -08:00

20 lines
367 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