dcmerge/Dockerfile
Markus Pesch 3777c49ee9
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Initial Commit
2023-07-26 09:57:40 +02:00

20 lines
349 B
Docker

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