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