A tool to migrate GitHub Repositories to Gitea including all issues
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.

Dockerfile.web 846B

123456789101112131415161718192021222324252627
  1. #Build stage
  2. FROM golang:1.11.2-alpine3.7 AS build-env
  3. ARG VERSION
  4. #Build deps
  5. RUN apk --no-cache add build-base git
  6. #Setup repo
  7. COPY . ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
  8. WORKDIR ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
  9. RUN make clean docker-binary-web
  10. FROM alpine:3.7
  11. LABEL maintainer="info@jonasfranz.software"
  12. COPY --from=build-env /go/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/gitea-github-migrator /usr/local/bin/gitea-github-migrator
  13. VOLUME "/data"
  14. VOLUME "/usr/local/bin/data"
  15. COPY --from=build-env /go/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/config.example.yml /data/config.example.yml
  16. RUN apk --no-cache add ca-certificates
  17. ENTRYPOINT ["/usr/local/bin/gitea-github-migrator", "web", "-c", "/data/config.yml"]