Remove cruft and fix build args in containerfile
This commit is contained in:
@@ -1,16 +1,14 @@
|
|||||||
ARG FEDORA_VERSION
|
ARG BASE_IMAGE
|
||||||
|
ARG BASE_IMAGE_VERSION
|
||||||
|
|
||||||
FROM registry.fedoraproject.org/fedora-toolbox:${FEDORA_VERSION}
|
FROM ${BASE_IMAGE}:${BASE_IMAGE_VERSION}
|
||||||
|
|
||||||
ARG BUILD_NONCE
|
ARG BUILD_NONCE
|
||||||
|
ARG ENV_NAME
|
||||||
|
|
||||||
ENV TOOLBOX_ENV=base
|
ENV TOOLBOX_ENV=${ENV_NAME}
|
||||||
|
|
||||||
LABEL local.voyager.base.nonce=${BUILD_NONCE}
|
LABEL local.${ENV_NAME}.nonce=${BUILD_NONCE}
|
||||||
|
|
||||||
ADD load-user-bashrc.sh /etc/profile.d/99-load-user-bashrc.sh
|
ADD load-user-bashrc.sh /etc/profile.d/99-load-user-bashrc.sh
|
||||||
|
|
||||||
RUN dnf install --assumeyes \
|
|
||||||
powerline \
|
|
||||||
make \
|
|
||||||
nano
|
|
||||||
|
|||||||
Reference in New Issue
Block a user