From 0bd454cc448b812da6c693b451d86ff4cadbb6b2 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Wed, 3 Jul 2019 15:31:38 +0100 Subject: Use the static container image This includes ca-certs in the docker image Fixes #82 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 7910e51..8349905 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR ${SRC_DIR} ADD . ${SRC_DIR} RUN CGO_ENABLED=0 GOOS=linux make install-cashierd -FROM scratch +FROM gcr.io/distroless/static LABEL maintainer="nsheridan@gmail.com" WORKDIR /cashier COPY --from=build /go/bin/cashierd / -- cgit v1.2.3