Skip to content

Instantly share code, notes, and snippets.

@alextanhongpin
Created September 4, 2017 05:05
Show Gist options
  • Save alextanhongpin/93ddcb0bfec31964a52e347f778e4d9b to your computer and use it in GitHub Desktop.
Save alextanhongpin/93ddcb0bfec31964a52e347f778e4d9b to your computer and use it in GitHub Desktop.
$ docker build -t alextanhongpin/hello-world-01 -f Dockerfile.01 .
Sending build context to Docker daemon 2.017MB
Step 1/4 : FROM alpine:latest
 — -> 7328f6f8b418
Step 2/4 : RUN apk — no-cache add ca-certificates
 — -> Using cache
 — -> 70fb51eb7cf7
Step 3/4 : COPY app .
 — -> b2a128947460
Removing intermediate container 79ec202de604
Step 4/4 : CMD /app
 — -> Running in fa74b21e353a
 — -> d678076674fa
Removing intermediate container fa74b21e353a
Successfully built d678076674fa
Successfully tagged alextanhongpin/hello-world-01:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment