13 lines
217 B
Docker
13 lines
217 B
Docker
ARG TARGET_PLATFORM
|
|
ARG BASE_IMAGE
|
|
|
|
FROM --platform=${TARGET_PLATFORM} ${BASE_IMAGE}
|
|
|
|
ARG PLATFORM_SUFFIX
|
|
COPY /dist/rngpotd${PLATFORM_SUFFIX} /bin/rngpotd
|
|
|
|
ENTRYPOINT [ "/bin/rngpotd" ]
|
|
CMD [ ]
|
|
|
|
USER nonroot:nonroot
|