Skip to content

Commit

Permalink
Merge pull request #28 from equinor/snyk-fix-ecb559603059cac149c5180a…
Browse files Browse the repository at this point in the history
…f15b4fb1

[Snyk] Security upgrade alpine from 3.17 to 3
  • Loading branch information
emirgens authored Nov 6, 2023
2 parents c22f45a + 5bd42c6 commit d1240a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ RUN staticcheck './...' && \
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-s -w" -a -installsuffix cgo -o ./rootfs/radix-vulnerability-scanner

# Install SNYK

FROM alpine:3.18 as tools

COPY install_tools.sh /install/install_tools.sh
RUN chmod +x /install/install_tools.sh
RUN sh /install/install_tools.sh

# Run scanner

FROM alpine:3.18

RUN apk update && \
Expand Down

0 comments on commit d1240a8

Please sign in to comment.