sandbox/Dockerfile
sneak 41114ce60a
Some checks reported errors
continuous-integration/drone/push Build was killed
testing a focal update, drone, et c
2020-02-16 05:50:24 -08:00

20 lines
363 B
Docker

FROM ubuntu:focal
ARG USERNAME_TO_ADD=user
ARG UID_TO_ADD=1000
ARG GID_TO_ADD=1000
ARG UBUNTU_MIRROR_URL=http://us.archive.ubuntu.com/ubuntu
# 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