tarr/Dockerfile
Markus Pesch f79b20e8a4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Initial Commit
2024-08-20 18:15:43 +02:00

20 lines
386 B
Docker

FROM docker.io/library/golang:1.23.0-alpine3.19 AS build
RUN apk add git make
WORKDIR /workspace
ADD ./ /workspace
RUN make -C cmd/autharr install \
DESTDIR=/cache \
PREFIX=/usr \
VERSION=${VERSION}
RUN make -C cmd/healarr install \
DESTDIR=/cache \
PREFIX=/usr \
VERSION=${VERSION}
FROM docker.io/library/alpine:3.20
COPY --from=build /cache /