blob: f440d5e7e6a4b7672aa9a464a105a3cce2ef601f (
plain) (
tree)
|
|
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
RUN tr -dc a-z </dev/urandom | head -c 12 >/version
EXPOSE 80
CMD ["cgd", "-a", ":80", "-c", "dmt"]
|