Added recipe4reader

This commit is contained in:
2026-01-11 18:27:59 +01:00
parent 285aa5be0c
commit e81a5ff3cc
3 changed files with 369 additions and 1 deletions

12
recipe4reader/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM golang:1.24-alpine AS builder
WORKDIR $GOPATH/src/napnap75/recipe4reader/
COPY recipe4reader.go .
RUN apk add --no-cache git gcc musl-dev \
&& go mod init github.com/napnap75/multiarch-docker-files/recipe4reader \
&& go get -d -v \
&& go build -ldflags="-w -s" -o /go/bin/recipe4reader
FROM alpine:latest
COPY --from=builder /go/bin/recipe4reader /usr/bin/
ENTRYPOINT ["/usr/bin/recipe4reader"]