dcmerge/Dockerfile
CSRBot acfb40daf8
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
chore(deps): update docker.io/library/alpine docker tag to v3.18.5
2023-11-30 23:06:34 +00:00

20 lines
349 B
Docker

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