Files
getidev/Dockerfile
Markus Pesch 0298a6a2bf
Some checks failed
continuous-integration/drone/push Build is failing
feat: renovate, update makefile, markdownlint, golancilint, drone integration
2024-04-08 16:18:46 +02:00

23 lines
429 B
Docker

ARG BASE_IMAGE
ARG BUILD_IMAGE
# BUILD
# =====================================================================
FROM ${BUILD_IMAGE} AS build
ARG VERSION
COPY ./ /workspace
RUN cd /workspace && \
VERSION=${VERSION} \
make all
# TARGET
# =====================================================================
FROM ${BASE_IMAGE}
COPY --from=build /workspace/getidev /usr/bin/getidev
ENTRYPOINT [ "/usr/bin/getidev" ]