Skip to content

Commit 843b6b4

Browse files
authored
Update system packages when building Docker image to avoid picking up upstream vulnerabilities (#8752)
1 parent b67399f commit 843b6b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/publish/firebase-docker-image/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM node:lts-alpine AS app-env
22

33
# Install Python and Java and pre-cache emulator dependencies.
44
RUN apk add --no-cache python3 py3-pip openjdk11-jre bash && \
5+
apk update && \
6+
apk upgrade && \
57
npm install -g firebase-tools && \
68
firebase setup:emulators:database && \
79
firebase setup:emulators:firestore && \

0 commit comments

Comments
 (0)