Skip to content

Commit

Permalink
Test commit #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri committed Jan 23, 2018
1 parent 85463da commit dbee92d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions functions/autodeploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Extend a generic Node image
FROM gcr.io/cloud-docs-samples/base
# Extend a generic Node image that uses GCF's Node version
FROM 6.12.3-alpine

# Install gcloud (from https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu)
RUN export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - && \
sudo apt-get update && sudo apt-get install google-cloud-sdk

# Install user dependencies
RUN npm install
Expand Down

0 comments on commit dbee92d

Please sign in to comment.