1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
FROM alpine RUN apk --no-cache upgrade RUN apk --no-cache add \ bash \ docker-cli \ docker-compose \ git \ go WORKDIR /app ENV PATH="${PATH}:/app" ENV GOPATH="/usr/local" COPY . . RUN go install github.com/uriel/cgd@latest EXPOSE 80 CMD ["cgd", "-a", ":80", "-c", "dmt"]