mirror of
https://github.com/dockersrc/archlinux
synced 2024-11-24 23:23:04 -05:00
🗃️ Committing everything that changed 🗃️
Dockerfile
This commit is contained in:
parent
4984fcea16
commit
b5f00203e5
@ -92,13 +92,13 @@ COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
|||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
$SHELL_OPTS; \
|
$SHELL_OPTS; \
|
||||||
|
mkdir -p "${DEFAULT_DATA_DIR}" "${DEFAULT_CONF_DIR}" "${DEFAULT_TEMPLATE_DIR}" "/root/docker/setup" "/etc/profile.d"; \
|
||||||
if [ -f "/root/docker/setup/00-init.sh" ];then echo "Running the init script";bash "/root/docker/setup/00-init.sh";echo "Done running the init script";fi; \
|
if [ -f "/root/docker/setup/00-init.sh" ];then echo "Running the init script";bash "/root/docker/setup/00-init.sh";echo "Done running the init script";fi; \
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
RUN echo "Creating and editing system files "; \
|
RUN echo "Creating and editing system files "; \
|
||||||
$SHELL_OPTS; \
|
$SHELL_OPTS; \
|
||||||
[ -f "/root/.profile" ] || touch "/root/.profile"; \
|
[ -f "/root/.profile" ] || touch "/root/.profile"; \
|
||||||
mkdir -p "${DEFAULT_DATA_DIR}" "${DEFAULT_CONF_DIR}" "${DEFAULT_TEMPLATE_DIR}" "/root/docker/setup" "/etc/profile.d"; \
|
|
||||||
if [ -f "/root/docker/setup/01-system.sh" ];then echo "Running the system script";bash "/root/docker/setup/01-system.sh";echo "Done running the system script";fi; \
|
if [ -f "/root/docker/setup/01-system.sh" ];then echo "Running the system script";bash "/root/docker/setup/01-system.sh";echo "Done running the system script";fi; \
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user