dcmerge/Dockerfile
CSRBot ea0bb14ac4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update docker.io/library/alpine docker tag to v3.21
2024-12-05 23:07:30 +00:00

20 lines
347 B
Docker

FROM docker.io/library/golang:1.23.3-alpine3.19 AS build
RUN apk add git make
WORKDIR /workspace
ADD ./ /workspace
RUN make install \
DESTDIR=/cache \
PREFIX=/usr \
VERSION=${VERSION}
FROM docker.io/library/alpine:3.21
COPY --from=build /cache /
WORKDIR /workspace
VOLUME [ "/workspace" ]
ENTRYPOINT [ "/usr/bin/dcmerge" ]