Split the setcap image from the base images, make them easier to override

This commit is contained in:
Jake Sanders
2021-02-24 11:04:34 -08:00
parent 8f15f7cf5e
commit 4b83c760a9
5 changed files with 33 additions and 20 deletions

View File

@@ -14,10 +14,9 @@
# Dockerfile used for the server images.
ARG BASE_IMAGE_REGISTRY
ARG BASE_IMAGE_NAME
ARG BASEIMAGE
ARG BINARY
FROM "${BASE_IMAGE_REGISTRY}/${BASE_IMAGE_NAME}"
FROM "${BASEIMAGE}"
COPY ${BINARY} /usr/local/bin/${BINARY}