mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-11 02:53:30 +00:00
15 lines
373 B
Docker
15 lines
373 B
Docker
FROM golang:buster as builder
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
COPY dendrite /dendrite
|
|
WORKDIR /dendrite
|
|
RUN rm -rf .git && ./build.sh
|
|
|
|
FROM debian:buster-20210111-slim
|
|
|
|
COPY --from=builder /dendrite/bin/ /usr/local/bin/
|
|
COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/
|
|
COPY entrypoint.sh /usr/local/bin/
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|