getidev/Dockerfile
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" ]