Logo
Explore Help
Register Sign In
darklyn/torrent-indexer
1
0
Fork 0
You've already forked torrent-indexer
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
Files
fc99c4c543e546ef7170878908005d0ad07d3433
torrent-indexer/Dockerfile

20 lines
349 B
Docker
Raw Normal View History

Chore/build pipeline (#6) * chg: chore: add linter * chg: chore: update go * new: chore: add pipeline * chg: fix: dockerfile path * chg: fix: main branch name * chg: fix: add goimports * chg: fix: remove goimports * chg: fix: use goreleaser * new: chore: add goreleaser config * new: docs: add LICENSE * chg: fix: container version * chg: fix: dockerfile setup
2024-04-28 11:52:01 -03:00
FROM golang:1.22 as builder
chg: feat: rewrite to be a torrent indexer
2023-09-23 17:02:55 +00:00
WORKDIR /go/src/app
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
FROM alpine:latest
Chore/build pipeline (#6) * chg: chore: add linter * chg: chore: update go * new: chore: add pipeline * chg: fix: dockerfile path * chg: fix: main branch name * chg: fix: add goimports * chg: fix: remove goimports * chg: fix: use goreleaser * new: chore: add goreleaser config * new: docs: add LICENSE * chg: fix: container version * chg: fix: dockerfile setup
2024-04-28 11:52:01 -03:00
LABEL maintainer="felipevm97@gmail.com"
chg: feat: rewrite to be a torrent indexer
2023-09-23 17:02:55 +00:00
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /go/src/app/app .
CMD ["/root/app"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.4 Page: 122ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API