Skip to content

Commit

Permalink
Fix firebase-tools requiring git in container
Browse files Browse the repository at this point in the history
  • Loading branch information
w9jds committed Jun 22, 2020
1 parent 8720501 commit 6d1a577
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:14.4.0-slim
FROM node:12.18.1-alpine

LABEL version="1.2.0"
LABEL version="1.2.1"
LABEL repository="https://github.com/w9jds/firebase-action"
LABEL homepage="https://github.com/w9jds/firebase-action"
LABEL maintainer="Jeremy Shore <[email protected]>"
Expand All @@ -10,7 +10,8 @@ LABEL com.github.actions.description="Wraps the firebase-tools CLI to enable com
LABEL com.github.actions.icon="package"
LABEL com.github.actions.color="gray-dark"

ENV NPM_CONFIG_USER root
# git is now required when install firebase-tools
RUN apk update && apk upgrade && apk add --no-cache git

RUN npm install -g firebase-tools

Expand Down

0 comments on commit 6d1a577

Please sign in to comment.