Skip to content

Instantly share code, notes, and snippets.

@kjetilho
Created December 7, 2019 18:51
Show Gist options
  • Save kjetilho/3934dd307cf82c622f290460e8010231 to your computer and use it in GitHub Desktop.
Save kjetilho/3934dd307cf82c622f290460e8010231 to your computer and use it in GitHub Desktop.
ARG BASE_IMAGE=buster
FROM debian:$BASE_IMAGE
ENV DEBIAN_FRONTEND noninteractive
RUN mkdir -p /run/systemd && \
echo 'docker' > /run/systemd/container
CMD ["/bin/bash"]
$ docker build -f Dockerfile.mirror --build-arg BASE_IMAGE=sid .
Sending build context to Docker daemon 70.66 kB
Step 1/6 : ARG BASE_IMAGE=buster
Please provide a source image with `from` prior to commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment