Skip to content

Commit 40401f7

Browse files
authored
Merge pull request #475 from damienfernandes/patch-1
474-High Security issues status "Unapproved" in latest alpine docker image
2 parents cc62f08 + 547f876 commit 40401f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ COPY . .
1717
RUN cargo build --release --target x86_64-unknown-linux-musl --bin cloud-scanner-cli
1818

1919
FROM alpine AS runtime
20+
#update libcrypto3 libssl3 to fix security issues
21+
RUN apk update && apk add --upgrade libcrypto3 libssl3
2022
#RUN addgroup -S myuser && adduser -S myuser -G myuser
2123
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/cloud-scanner-cli /usr/local/bin/
2224
#USER myuser

0 commit comments

Comments
 (0)