2024-12-05 22:53:18 +00:00
|
|
|
FROM docker.io/library/golang:1.23.4-alpine3.19 AS build
|
2024-08-18 18:49:30 +00:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
2024-12-05 22:53:18 +00:00
|
|
|
FROM docker.io/library/alpine:3.21
|
2024-08-18 18:49:30 +00:00
|
|
|
|
|
|
|
COPY --from=build /cache /
|