Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from sidwood/feature/update-gcloud-version
Browse files Browse the repository at this point in the history
Update gcloud sdk version to 198.0.0 and add --no-cache flag to `RUN` command
  • Loading branch information
hleonps authored Apr 27, 2018
2 parents 9ea303c + a5c95cf commit 027e240
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Version. Can change in build progress
ARG GCLOUD_SDK_VERSION=183.0.0-alpine
ARG GCLOUD_SDK_VERSION=198.0.0-alpine

# Use google cloud sdk
FROM google/cloud-sdk:$GCLOUD_SDK_VERSION
MAINTAINER Singularities

# Install Java 8 for Datastore emulator
RUN apk --update add openjdk8-jre
RUN gcloud components install cloud-datastore-emulator beta --quiet
RUN apk add --update --no-cache openjdk8-jre &&\
gcloud components install cloud-datastore-emulator beta --quiet

# Volume to persist Datastore data
VOLUME /opt/data
Expand All @@ -16,4 +16,4 @@ COPY start-datastore .

EXPOSE 8081

ENTRYPOINT ["./start-datastore"]
ENTRYPOINT ["./start-datastore"]

0 comments on commit 027e240

Please sign in to comment.