dcmerge/Dockerfile
CSRBot 161662e945
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
chore(deps): update docker.io/library/golang docker tag to v1.21.7
2024-02-06 23:03:54 +00:00

20 lines
349 B
Docker

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