getidev/Dockerfile
Markus Pesch ba74445c54
Some checks failed
continuous-integration/drone/push Build is failing
fix: define images in Dockerfile
2024-04-08 16:22:22 +02:00

18 lines
352 B
Docker

FROM docker.io/library/golang:1.21.6-alpine3.18
ARG VERSION
COPY ./ /workspace
RUN cd /workspace && \
VERSION=${VERSION} \
make all
# TARGET
# =====================================================================
FROM docker.io/library/alpine:3.19
COPY --from=build /workspace/getidev /usr/bin/getidev
ENTRYPOINT [ "/usr/bin/getidev" ]