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.

19 lines

  1. #Build stage
  2. FROM golang:1.10-alpine3.7 AS build-env
  3. #Build deps
  4. RUN apk --no-cache add build-base git
  5. #Setup repo
  6. COPY . ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
  7. WORKDIR ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
  8. RUN make docker-binary
  9. FROM alpine:3.7
  10. LABEL maintainer="info@jonasfranz.software"
  11. COPY --from=build-env /go/src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/gitea-github-migrator /usr/local/bin/gitea-github-migrator
  12. ENTRYPOINT ["/usr/local/bin/gitea-github-migrator"]