Now that Jenkins has been configured, we need to decide on an application to configure and deploy.
Building and deploying a container
Preparing our application
If you recall, in Chapter 4, Optimizing Docker Images, we created a simple Go application, which prints hello world to the screen when you open it in a browser. Dockerfile contained a multi-stage build that looked like the following:
FROM golang:1.11-stretch
ADD hello.go hello.go
RUN go build hello.go
FROM busybox
COPY --from=0 /go/hello /app/hello
COPY --from=0 /lib/x86_64-linux-gnu/libpthread.so.0 \
/lib/x86_64-linux-gnu/libpthread.so.0
COPY --from=0 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libc.so.6
COPY --from=0 /lib64/ld-linux...