mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-16 11:44:18 +01:00
Added immich-souvenirs
This commit is contained in:
13
immich-souvenirs/Dockerfile
Normal file
13
immich-souvenirs/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM golang:1.21-alpine AS builder
|
||||
|
||||
WORKDIR $GOPATH/src/napnap75/immich-souvenirs/
|
||||
COPY immich-souvenirs.go .
|
||||
RUN apk add --no-cache git gcc musl-dev \
|
||||
&& go mod init github.com/napnap75/multiarch-docker-files/immich-souvenirs \
|
||||
&& go get -d -v \
|
||||
&& go build -ldflags="-w -s" -o /go/bin/immich-souvenirs
|
||||
|
||||
FROM alpine:latest
|
||||
COPY --from=builder /go/bin/immich-souvenirs /usr/bin/
|
||||
VOLUME /tmp/messages
|
||||
ENTRYPOINT ["/usr/bin/immich-souvenirs"]
|
||||
Reference in New Issue
Block a user