mirror of
https://github.com/dockersrc/archlinux
synced 2024-12-11 11:51:41 -05:00
🗃️ Committing everything that changed 🗃️
Dockerfile
This commit is contained in:
parent
6ad13e7ccb
commit
bab79d7764
@ -1,4 +1,4 @@
|
||||
# syntax=docker/dockerfile:experimental
|
||||
# syntax=docker/dockerfile:1
|
||||
# Docker image for archlinux using the archlinux template
|
||||
ARG IMAGE_NAME="archlinux"
|
||||
ARG PHP_SERVER="archlinux"
|
||||
@ -143,11 +143,11 @@ RUN echo "Updating system files "; \
|
||||
if [ "$PHP_VERSION" != "system" ] && [ -e "/etc/php" ] && [ -d "/etc/${PHP_VERSION}" ];then rm -Rf "/etc/php";fi; \
|
||||
if [ "$PHP_VERSION" != "system" ] && [ -n "${PHP_VERSION}" ] && [ -d "/etc/${PHP_VERSION}" ];then ln -sf "/etc/${PHP_VERSION}" "/etc/php";fi; \
|
||||
if [ -f "/root/docker/setup/03-files.sh" ];then echo "Running the files script";/root/docker/setup/03-files.sh||{ echo "Failed to execute /root/docker/setup/03-files.sh" >&2 && exit 10; };echo "Done running the files script";fi; \
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
RUN echo "Custom Settings"; \
|
||||
$SHELL_OPTS; \
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
RUN echo "Setting up users and scripts "; \
|
||||
$SHELL_OPTS; \
|
||||
@ -175,7 +175,7 @@ RUN echo "Setting OS Settings "; \
|
||||
|
||||
RUN echo "Custom Applications"; \
|
||||
$SHELL_OPTS; \
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
RUN echo "Running custom commands"; \
|
||||
if [ -f "/root/docker/setup/05-custom.sh" ];then echo "Running the custom script";/root/docker/setup/05-custom.sh||{ echo "Failed to execute /root/docker/setup/05-custom.sh" && exit 10; };echo "Done running the custom script";fi; \
|
||||
|
Loading…
Reference in New Issue
Block a user