Fix GitHub Auth by installing new ca certificates (#26)

master
Jonas Franz 6 years ago committed by Gitea
parent 7b27ca281d
commit d8ab1fe098
  1. 4
      Dockerfile
  2. 4
      Dockerfile.web

@ -5,7 +5,7 @@ FROM golang:1.10-alpine3.7 AS build-env
ARG VERSION
#Build deps
RUN apk --no-cache add build-base git ca-certificates
RUN apk --no-cache add build-base git
#Setup repo
COPY . ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
@ -18,4 +18,6 @@ LABEL maintainer="info@jonasfranz.software"
COPY --from=build-env /go/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/gitea-github-migrator /usr/local/bin/gitea-github-migrator
RUN apk --no-cache add ca-certificates
ENTRYPOINT ["/usr/local/bin/gitea-github-migrator"]

@ -4,7 +4,7 @@ FROM golang:1.10-alpine3.7 AS build-env
ARG VERSION
#Build deps
RUN apk --no-cache add build-base git ca-certificates
RUN apk --no-cache add build-base git
#Setup repo
COPY . ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
@ -22,4 +22,6 @@ VOLUME "/usr/local/bin/data"
COPY --from=build-env /go/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/config.example.yml /data/config.example.yml
RUN apk --no-cache add ca-certificates
ENTRYPOINT ["/usr/local/bin/gitea-github-migrator", "web", "-c", "/data/config.yml"]

Loading…
Cancel
Save