Skip to content

Commit

Permalink
Refactor apk usage in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello authored and atzoum committed Oct 31, 2023
1 parent 6d2db45 commit cbada9a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ RUN go build -o rudder-cli ./cmd/rudder-cli/

FROM alpine:${ALPINE_VERSION}

RUN apk update && apk add tzdata
RUN apk -U --no-cache upgrade && \
apk add --no-cache ca-certificates postgresql-client curl bash
RUN apk --no-cache upgrade && \
apk --no-cache add tzdata ca-certificates postgresql-client curl bash

COPY --from=builder rudder-server/rudder-server .
COPY --from=builder rudder-server/build/wait-for-go/wait-for-go .
Expand Down

0 comments on commit cbada9a

Please sign in to comment.