|
@ -28,8 +28,8 @@ RUN go build -a -installsuffix cgo -ldflags="-s -w" -o /binaries/rpdata-logpaste |
|
|
# Use alpine linux |
|
|
# Use alpine linux |
|
|
FROM alpine:3.7 |
|
|
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 build files into final container |
|
|
COPY --from=build-server /binaries/* /usr/local/bin/ |
|
|
COPY --from=build-server /binaries/* /usr/local/bin/ |
|
|