1
0
mirror of https://github.com/eventials/goevents.git synced 2025-04-24 13:48:53 +08:00

Corrected environment variable usage in Dockerfile

This commit is contained in:
Jonathan A. Schweder 2018-11-05 14:24:32 -02:00
parent 49919dff73
commit 05a5b865ef

View File

@ -1,12 +1,12 @@
FROM golang:1.10
ARG PLATFORM=linux
ENV PLATFORM $PLATFORM_VERSION
ENV PLATFORM $PLATFORM
ARG ARCH=amd64
ENV ARCH $ARCH_VERSION
ENV ARCH $ARCH
ARG DOCKERIZE_VERSION=v0.2.0
ARG DOCKERIZE_VERSION=v0.6.1
ENV DOCKERIZE_VERSION $DOCKERIZE_VERSION
ADD https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-$PLATFORM-$ARCH-$DOCKERIZE_VERSION.tar.gz /usr/local/bin
@ -26,4 +26,4 @@ RUN go get \
ENTRYPOINT ["dockerize"]
CMD ["-wait", "tcp://broker:5672", "-timeout", "60s", "go", "run", "examples/consumer/consumer.go"]
CMD ["-wait", "tcp://broker:5672", "-timeout", "60s", "go", "run", "examples/consumer/amqp/consumer.go"]