Artifact 591e34968b00f77dbdb48c7004b70438ddf39680:
- File wiki_references/2019/software/mail_and_messaging/matrix_org/src_from_GitHub/the_repository_clones/matrix-static/Dockerfile — part of check-in [d26d71cd86] at 2021-04-14 02:22:53 on branch trunk — GitHub repository updates and pull script updates. (user: vhost7825ssh, size: 434) [annotate] [blame] [check-ins using]
FROM golang:1.13-alpine RUN apk --update add git gcc musl-dev RUN go get github.com/valyala/quicktemplate/qtc WORKDIR /src COPY . /src RUN qtc RUN go build ./cmd/matrix-static FROM alpine # We need this otherwise we don't have a good list of CAs RUN apk --update add ca-certificates && mkdir /opt/matrix-static WORKDIR /opt/matrix-static/ COPY --from=0 /src/matrix-static /bin/ COPY ./assets/ ./assets ENTRYPOINT matrix-static