2023-09-06 23:23:23 +02:00
|
|
|
FROM alpine:latest
|
2023-09-07 12:55:59 +02:00
|
|
|
ARG TEA_URL="https://gitea.com/gitea/t0ea/releases/download/v0.9.2/tea-0.9.2-linux-amd64"
|
2023-09-07 13:03:51 +02:00
|
|
|
ARG ORG_CA_FILE="federationHQ-CA.pem"
|
2023-09-06 23:23:23 +02:00
|
|
|
|
|
|
|
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}
|