这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on May 23, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]