<filename>Dockerfile
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:alpine

RUN apk --no-cache add openjdk8-jre
RUN gcloud components install beta pubsub-emulator && \
  gcloud components update
ENTRYPOINT ["gcloud", "beta", "emulators", "pubsub", "start"]
CMD ["--host-port=0.0.0.0:8080"]
