Skip to content

Commit 71b94b8

Browse files
committed
Docs
1 parent f611312 commit 71b94b8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# We use a multi-stage build setup.
44
# (https://docs.docker.com/build/building/multi-stage/)
55

6-
# Stage 1 (to create a "build" image, ~850MB)
6+
###############################################################################
7+
# Stage 1 (to create a "build" image, ~850MB) #
8+
###############################################################################
79
FROM golang:1.20.5 AS builder
810
# smoke test to verify if golang is available
911
RUN go version
@@ -23,7 +25,9 @@ RUN GOOS=linux GOARCH=amd64 \
2325
-o app cmd/golang-docker-build-tutorial/main.go
2426
RUN go test -cover -v ./...
2527

26-
# Stage 2 (to create a downsized "container executable", ~5MB)
28+
###############################################################################
29+
# Stage 2 (to create a downsized "container executable", ~5MB) #
30+
###############################################################################
2731

2832
# If you need SSL certificates for HTTPS, replace `FROM SCRATCH` with:
2933
#

0 commit comments

Comments
 (0)