Skip to content

Commit

Permalink
Remove conflicting -U option for apk in Dockerfile (#5578)
Browse files Browse the repository at this point in the history
The `--no-cache` option updates the index and avoids temporary files, making `-U` unnecessary, consistent with the subsequent `apk add`.
  • Loading branch information
PeterDaveHello authored Aug 28, 2024
1 parent aac1af1 commit bf58b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN go build ./cmd/nuclei

# Release
FROM alpine:3.18.6
RUN apk -U upgrade --no-cache \
RUN apk upgrade --no-cache \
&& apk add --no-cache bind-tools chromium ca-certificates
COPY --from=build-env /app/nuclei /usr/local/bin/

Expand Down

0 comments on commit bf58b4d

Please sign in to comment.