getidev/Dockerfile

18 lines
352 B
Docker
Raw Normal View History

2024-04-08 14:22:22 +00:00
FROM docker.io/library/golang:1.21.6-alpine3.18
2021-06-10 11:08:56 +00:00
ARG VERSION
COPY ./ /workspace
RUN cd /workspace && \
VERSION=${VERSION} \
make all
# TARGET
# =====================================================================
2024-04-08 14:22:22 +00:00
FROM docker.io/library/alpine:3.19
2021-06-10 11:08:56 +00:00
COPY --from=build /workspace/getidev /usr/bin/getidev
ENTRYPOINT [ "/usr/bin/getidev" ]