Upgrade vendored Dockerfile template to buster
What does this MR do?
Upgrades vendored Dockerfile template from jessie to buster.
cf. !42149 (merged)
Verification
Golang.Dockerfile
peter@lappy /tmp/binary$ cat hello_world.go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
peter@lappy /tmp/binary$ docker build -t helloworld-go -f Golang.Dockerfile .
Sending build context to Docker daemon 4.096kB
Step 1/9 : FROM golang:1.8 AS builder
---> 0d283eb41a92
Step 2/9 : WORKDIR /usr/src/app
---> Using cache
---> 75715e469ba7
Step 3/9 : COPY . .
---> Using cache
---> 779024f793e3
Step 4/9 : RUN go-wrapper download
---> Using cache
---> 159504717c2e
Step 5/9 : RUN go build -v
---> Using cache
---> 42e720feeb42
Step 6/9 : FROM buildpack-deps:buster
---> 264c7080a381
Step 7/9 : WORKDIR /usr/local/bin
---> Running in b4a2f31b4972
Removing intermediate container b4a2f31b4972
---> 1ac5bd0f1a4c
Step 8/9 : COPY --from=builder /usr/src/app/app .
---> c3ab92dcd3d3
Step 9/9 : CMD ["./app"]
---> Running in c0a1750c6773
Removing intermediate container c0a1750c6773
---> 721cd2d53c2f
Successfully built 721cd2d53c2f
Successfully tagged helloworld-go:latest
peter@lappy /tmp/binary$ docker run helloworld-go
hello world
Binary.Dockerfile
peter@lappy /tmp/binary$ ls -al app
-rwxr-xr-x 1 peter peter 2038890 Sep 15 12:03 app
peter@lappy /tmp/binary$ docker build -t helloworld-binary -f Binary.Dockerfile .
Sending build context to Docker daemon 2.044MB
Step 1/4 : FROM buildpack-deps:buster
---> 264c7080a381
Step 2/4 : WORKDIR /usr/local/bin
---> Using cache
---> 1ac5bd0f1a4c
Step 3/4 : Add app .
---> Using cache
---> 7b5dc3cc053e
Step 4/4 : CMD ["./app"]
---> Using cache
---> 260588ef04c2
Successfully built 260588ef04c2
Successfully tagged helloworld-binary:latest
peter@lappy /tmp/binary$ docker run helloworld-binary
hello world
Does this MR meet the acceptance criteria?
Conformity
Edited by Peter Leitzen