FROM alpine:latest ARG TEA_URL="https://gitea.com/gitea/t0ea/releases/download/v0.9.2/tea-0.9.2-linux-amd64" ARG ORG_CA_FILE="/etc/ssl/certs2/federationHQ-CA.pem" RUN apk --no-cache add ca-certificates ADD ${ORG_CA_FILE} /usr/local/share/ca-certificates RUN update-ca-certificates RUN apk --no-cache add curl RUN curl -o /usr/local/bin/gitea ${TEA_URL}