Small tool to convert acme.json certificates from Traefik, to standard PEM certificates, PLUS the full chain file (for software which needs it).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
zumba/Dockerfile

19 lines
487 B

FROM golang:1.14.1 AS builder
RUN apt install git -y
RUN mkdir -p /go/src/zumba
RUN git clone https://git.keinpfusch.net/loweel/zumba.git /go/src/zumba
WORKDIR /go/src/zumba
ENV GO111MODULE=auto
RUN go get ; go build
FROM debian:latest
RUN apt update
RUN apt upgrade -y
RUN apt install ca-certificates -y
RUN mkdir -p /opt/zumba
WORKDIR /opt/zumba
COPY --from=builder /go/src/zumba /opt/zumba
ENV ACME_FILE=/acme/acme.json
ENV CERT_PATH=/certs
ENTRYPOINT ["/opt/zumba/zumba"]