Skip to content

Commit

Permalink
Added the initial configuration of the image
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Perez committed Aug 14, 2017
1 parent 35015c8 commit be93ee6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Google Cloud Pub/Sub Documentation
# https://cloud.google.com/pubsub/docs/

FROM google/cloud-sdk
LABEL maintainer="Cesar Perez <[email protected]>" \
version="0.1" \
description="Google Cloud Pub/Sub Emulator"

EXPOSE 8538

VOLUME /data

ENTRYPOINT ["gcloud", "beta", "emulators", "pubsub"]
CMD ["start", "--host-port=127.0.0.1:8538", "--data-dir=/data"]

0 comments on commit be93ee6

Please sign in to comment.