Browse Source

Dockerfile: Added tzdata package to final container.

module-madness-pointers 1.1.2
Gisle Aune 6 years ago
parent
commit
d038c1cfea
  1. 4
      Dockerfile

4
Dockerfile

@ -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/

Loading…
Cancel
Save