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

Commit

Permalink
Use a single RUN directive in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sidwood committed Apr 27, 2018
1 parent 9ea303c commit d5da0ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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 d5da0ac

Please sign in to comment.