Skip to content

Instantly share code, notes, and snippets.

@biwhite
Created July 17, 2017 15:15
Show Gist options
  • Save biwhite/d53d1afb2c4eecd93b11d12c83614f81 to your computer and use it in GitHub Desktop.
Save biwhite/d53d1afb2c4eecd93b11d12c83614f81 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-amd
64.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
[ben@snarf dtest]$ docker version
Client:
Version: 17.06.0-ce
API version: 1.30
Go version: go1.8.3
Git commit: 3dfb8343
Built: Sat Jul 8 20:56:41 2017
OS/Arch: linux/amd64
Server:
Version: 17.06.0-ce
API version: 1.30 (minimum version 1.12)
Go version: go1.8.3
Git commit: 02c1d87617
Built: Sat Jul 8 22:56:56 2017
OS/Arch: linux/amd64
Experimental: false
[ben@snarf dtest]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment