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 624B

1234567891011121314151617181920212223
  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 docker-binary
  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. RUN apk --no-cache add ca-certificates
  14. ENTRYPOINT ["/usr/local/bin/gitea-github-migrator"]