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
main
torrent-indexer/Dockerfile

20 lines
349 B
Docker
Raw Permalink Normal View History

Chore/update golang to 1.24 + add riscv64 support (#40) * chg: chore: bump golang and deps * chg: chore: add riscv64 support * chg: chore: update goreleaser * chg: chore: disable cgo * chg: chore: tidy up deps * chg: chore: add build tags
2025-07-29 13:22:21 -03:00
FROM golang:1.24 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: 25ms 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