dcmerge/Dockerfile
CSRBot 6bfd49947e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
chore(deps): update dependency docker.io/library/golang to v1.21.0
2023-08-10 15:41:23 +02:00

20 lines
349 B
Docker

FROM docker.io/library/golang:1.21.0-alpine3.18 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.18.3
COPY --from=build /cache /
WORKDIR /workspace
VOLUME [ "/workspace" ]
ENTRYPOINT [ "/usr/bin/dcmerge" ]