Modulization

This commit is contained in:
Alexandre
2022-01-13 21:29:26 +01:00
parent 5f88380b0e
commit ed8b7a3f07
37 changed files with 15 additions and 1211 deletions

View File

@@ -40,7 +40,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
rm /automatic_packages.sh || printf '%s\n' "${PACKAGES:-}" > /ENVFILE
# Modules
ARG MODULES="00-banner.sh"
ARG MODULES="00-banner.sh 00-global_var.sh"
# Automatic modules download
RUN mkdir -p /tmpscripts /etc/cont-init.d && \
@@ -55,7 +55,7 @@ RUN mkdir -p /tmpscripts /etc/cont-init.d && \
RUN chmod 777 /entrypoint.sh
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/entrypoint.sh" ]
CMD [ "/entrypoint.sh" ]
############
# 5 Labels #