Created
December 7, 2019 18:51
-
-
Save kjetilho/3934dd307cf82c622f290460e8010231 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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