dcmerge/Dockerfile
CSRBot 702c1ac4b6
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build was killed
chore(deps): update docker.io/library/golang docker tag to v1.22.1
2024-03-05 20:04:44 +00:00

20 lines
347 B
Docker

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