Skip to content

Instantly share code, notes, and snippets.

@biwhite
Created July 17, 2017 15:15
Show Gist options
  • Save biwhite/c03c7586a240280d2451023b6a7c2cf5 to your computer and use it in GitHub Desktop.
Save biwhite/c03c7586a240280d2451023b6a7c2cf5 to your computer and use it in GitHub Desktop.
[ben@snarf dtest]$ cat Dockerfile
FROM alpine:latest
ADD https://github.com/just-containers/s6-overlay/releases/download/v1.19.1.1/s6-overlay-amd64.tar.gz /tmp/
RUN ls -la /tmp/
[ben@snarf dtest]$ docker build --no-cache -t foo/bar .
Sending build context to Docker daemon 2.048kB
Step 1/3 : FROM alpine:latest
---> 7328f6f8b418
Step 2/3 : ADD https://github.com/just-containers/s6-overlay/releases/download/v1.19.1.1/s6-overlay-amd64.tar.gz /tmp/
Downloading 1.713MB/1.713MB
---> 024f6c671e4c
Removing intermediate container 1fc48e541662
Step 3/3 : RUN ls -la /tmp/
---> Running in 84e4352359fc
total 28
drwxrwxrwt 1 root root 4096 Jul 17 15:14 .
drwxr-xr-x 1 root root 4096 Jul 17 15:14 ..
drwxr-xr-x 2 root root 4096 Jan 22 15:08 bin
drwxr-xr-x 7 root root 4096 Jan 22 15:14 etc
-rwxr-xr-x 1 root root 369 Jan 22 15:14 init
drwxr-xr-x 2 root root 4096 Jan 22 15:08 libexec
drwxr-xr-x 3 root root 4096 Jan 22 15:08 usr
---> c02f48bd182a
Removing intermediate container 84e4352359fc
Successfully built c02f48bd182a
Successfully tagged foo/bar:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment