Fixed missing read permission on all scripts
Build and push PHP 7 container images / Build PHP 7 builder container images (map[os:alpine os_version:3.12 php_ver_short:7 php_version:7.3]) (push) Successful in 48s Details
Build and push PHP 7 container images / Build PHP 7 builder container images (map[os:alpine os_version:3.15 php_ver_short:7 php_version:7.4]) (push) Successful in 45s Details
Build and push PHP 7 container images / Build PHP 7 builder container images (map[os:alpine os_version:3.9 php_ver_short:7 php_version:7.2]) (push) Successful in 50s Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.12 php_ver_short:7 php_version:7.3 with_database:false with_server:apache]) (push) Failing after 33s Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.12 php_ver_short:7 php_version:7.3 with_database:false with_server:false]) (push) Successful in 1m26s Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.12 php_ver_short:7 php_version:7.3 with_database:mysql with_server:apache]) (push) Failing after 29s Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.12 php_ver_short:7 php_version:7.3 with_database:postgresql with_server:apache]) (push) Failing after 30s Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.15 php_ver_short:7 php_version:7.4 with_database:false with_server:apache]) (push) Failing after 31s Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.15 php_ver_short:7 php_version:7.4 with_database:false with_server:false]) (push) Successful in 1m15s Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.15 php_ver_short:7 php_version:7.4 with_database:postgresql with_server:apache]) (push) Has been cancelled Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.9 php_ver_short:7 php_version:7.2 with_database:false with_server:apache]) (push) Has been cancelled Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.9 php_ver_short:7 php_version:7.2 with_database:false with_server:false]) (push) Has been cancelled Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.9 php_ver_short:7 php_version:7.2 with_database:mysql with_server:apache]) (push) Has been cancelled Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.9 php_ver_short:7 php_version:7.2 with_database:postgresql with_server:apache]) (push) Has been cancelled Details
Build and push PHP 7 container images / Build PHP 7 container images (map[os:alpine os_version:3.15 php_ver_short:7 php_version:7.4 with_database:mysql with_server:apache]) (push) Has been cancelled Details

This commit is contained in:
Muhamad Aditya Prima 2024-12-27 15:03:42 +07:00
parent b65e3db713
commit 957be72936
2 changed files with 5 additions and 2 deletions

View File

@ -12,10 +12,13 @@ ARG WITH_DATABASE=false
ENV WITH_APACHE=${WITH_APACHE}
ENV WITH_DATABASE=${WITH_DATABASE}
ADD ./scripts/apache-entrypoint.sh /usr/local/bin/entrypoint.sh ;
# Create directory, and install required php app
RUN /bin/sh /tmp/setup.sh; \
/bin/rm -f /tmp/*.sh; \
rm -vrf /var/cache/apk/*
rm -vrf /var/cache/apk/*; \
chmod +rx /usr/local/bin/entrypoint.sh ;
FROM scratch

View File

@ -30,7 +30,7 @@ RUN /bin/mkdir -p /app ; \
php${PHP_VER_SHORT}-cli php${PHP_VER_SHORT}-phar \
php${PHP_VER_SHORT}-iconv php${PHP_VER_SHORT}-mbstring \
php${PHP_VER_SHORT}-json ; \
/bin/chmod +x /tmp/setup.sh /usr/local/bin/composer ;
/bin/chmod +rx /tmp/setup.sh /usr/local/bin/composer ;
# Create symlinks to /usr/bin/php in case it doesn't exists
RUN ln -ns /usr/bin/php${PHP_VER_SHORT} /usr/bin/php ; exit 0