Skip to content

Commit 11844fa

Browse files
committed
Update firebase-tools to latest
1 parent 4517f38 commit 11844fa

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
FROM node:16-alpine
1+
FROM node:22-alpine
22

3-
ENV FIREBASE_TOOLS_VERSION="11.25.2"
3+
ENV FIREBASE_TOOLS_VERSION="14.22.0"
44
ENV HOME=/home/node
55

66
RUN apk update
7-
RUN apk --no-cache add openjdk11-jre bash python3
7+
RUN apk --no-cache add openjdk17-jre bash python3
88
RUN yarn global add firebase-tools@${FIREBASE_TOOLS_VERSION}
99
RUN yarn cache clean
1010
RUN firebase setup:emulators:database
1111
RUN firebase setup:emulators:firestore
1212
RUN firebase setup:emulators:pubsub
1313
RUN firebase setup:emulators:storage
14-
RUN firebase -V
15-
RUN java -version
1614
RUN chown -R node:node $HOME
1715

1816
USER node
@@ -21,5 +19,5 @@ VOLUME $HOME/.cache
2119
WORKDIR $HOME
2220

2321
COPY ./setup.py ./setup.py
24-
22+
SHELL ["/bin/sh", "-c"]
2523
CMD python3 ./setup.py && firebase emulators:start

0 commit comments

Comments
 (0)