tarr/Dockerfile
CSRBot 1118e99a9c
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is passing
Update docker.io/library/golang Docker tag to v1.23.4
2024-12-04 02:29:07 +00:00

20 lines
386 B
Docker

FROM docker.io/library/golang:1.23.4-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 /