Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixes an issue where Python was missing from the firebase-tools Docker image (#9855).
12 changes: 6 additions & 6 deletions scripts/publish/firebase-docker-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM node:lts-alpine AS app-env

# Install Python and Java and pre-cache emulator dependencies.
RUN apk add --no-cache openjdk21-jre-headless bash && \
apk update && \
apk upgrade
# Install Python (for Cloud Functions) and Java (for emulators) and pre-cache emulator dependencies.
RUN apk update && \
apk add --no-cache python3 py3-pip openjdk21-jre-headless bash && \
apk upgrade && \
rm -rf /var/cache/apk/*


RUN mkdir -p /usr/local/node_packages/
Expand All @@ -21,7 +22,6 @@ RUN firebase setup:emulators:database && \
firebase setup:emulators:pubsub && \
firebase setup:emulators:storage && \
firebase setup:emulators:dataconnect && \
firebase setup:emulators:ui && \
rm -rf /var/cache/apk/*
firebase setup:emulators:ui

ENTRYPOINT [ "firebase" ]
Loading