blob: f440d5e7e6a4b7672aa9a464a105a3cce2ef601f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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"]
|