Dockerfile: Added tzdata package to final container.
the build was successful

This commit is contained in:
2018-11-07 19:48:03 +01:00
parent 7e812bd615
commit d038c1cfea
+2 -2
View File
@@ -28,8 +28,8 @@ RUN go build -a -installsuffix cgo -ldflags="-s -w" -o /binaries/rpdata-logpaste
# Use alpine linux
FROM alpine:3.7
# Install certificates to enable HTTPS GET requests
RUN apk add --no-cache ca-certificates
# Install certificates to enable HTTPS GET requests, and tzdata for logpaste
RUN apk add --no-cache ca-certificates tzdata
# Copy build files into final container
COPY --from=build-server /binaries/* /usr/local/bin/