Skip to content

Commit

Permalink
ci-fix: ignore apline baselayout upgrade with force overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
niazhussain committed Jul 9, 2024
1 parent 2b7c1a7 commit e61a3b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Uses docker build cache
# Only re-download changed dependencies
FROM golang:1.17-alpine as builder
RUN apk update && apk upgrade && \
RUN apk update && apk upgrade --force-overwrite && \
apk add --no-cache git

RUN mkdir /app
Expand All @@ -23,7 +23,7 @@ FROM alpine:latest

# Update and upgrade packages in a writable environment

RUN apk update && apk upgrade --no-cache --ignore alpine-baselayout && \
RUN apk update && apk upgrade --force-overwrite --no-cache && \
apk --no-cache add ca-certificates

RUN mkdir /app
Expand Down

0 comments on commit e61a3b6

Please sign in to comment.