Update Dockerfile

Add bind-tools and ca-certificates to Docker Image
This commit is contained in:
Juan Calderon-Perez 2021-04-19 23:34:42 -04:00 committed by GitHub
parent 2d16870803
commit f4cbf94d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@ RUN cd /src && go build -v -ldflags "-s -w"
# final stage # final stage
FROM alpine FROM alpine
RUN apk -U upgrade --no-cache && \
apk add --no-cache bind-tools ca-certificates
WORKDIR /app WORKDIR /app
COPY --from=build-env /src/glider /app/ COPY --from=build-env /src/glider /app/
ENTRYPOINT ["./glider"] ENTRYPOINT ["./glider"]