images

alpine-laravel (master)

Published 2024-04-11 14:57:28 +02:00 by gitbot in images/alpine-laravel

Installation

docker pull gitco.re/images/alpine-laravel:master
sha256:fb4b8c1445166d35ce1cac2656d18f8e6083476356d7f4d95ea6de121f387f1a

Images

Digest OS / Arch Size
2e3c44236f linux/amd64 32 MiB
2914fc4c8b linux/arm64 32 MiB
db480faa19 linux/arm/v7 29 MiB

Image Layers ( linux/arm/v7)

ADD file:dca2a738b46ed78f0ccd7e23ba4d4729528feaa423a0ff0ac5c3512bf43b6fae in /
CMD ["/bin/sh"]
ARG BASEIMAGE_VERSION
ARG BASEIMAGE_VERSION=master
ENV BASEIMAGE_VERSION=master
ARG USER_NME=container
ARG USER_UID=1000
ARG USER_GID=1000
RUN |5 BASEIMAGE_VERSION=master BASEIMAGE_VERSION=master USER_NME=container USER_UID=1000 USER_GID=1000 /bin/sh -c addgroup -g $USER_GID $USER_NME && adduser -u $USER_UID -G $USER_NME -D -H -s /bin/sh $USER_NME # buildkit
USER root
COPY scripts /scripts # buildkit
RUN |5 BASEIMAGE_VERSION=master BASEIMAGE_VERSION=master USER_NME=container USER_UID=1000 USER_GID=1000 /bin/sh -c apk update && apk add --no-cache bash curl openssh-client ca-certificates dumb-init && rm -rf /var/cache/apk/* && ln -s /usr/bin/dumb-init /usr/local/bin/dumb-init # buildkit
USER container
WORKDIR /
ARG PHP_VERSION
ARG PHP_VERSION=83
ENV PHP_VERSION=83
USER root
RUN |2 PHP_VERSION=83 PHP_VERSION=83 /bin/sh -c apk add --no-cache php${PHP_VERSION} php${PHP_VERSION}-fpm php${PHP_VERSION}-curl php${PHP_VERSION}-dom php${PHP_VERSION}-gd php${PHP_VERSION}-iconv php${PHP_VERSION}-intl php${PHP_VERSION}-json php${PHP_VERSION}-mbstring php${PHP_VERSION}-mysqli php${PHP_VERSION}-opcache php${PHP_VERSION}-pdo php${PHP_VERSION}-pdo_mysql php${PHP_VERSION}-pdo_pgsql php${PHP_VERSION}-pdo_sqlite php${PHP_VERSION}-pgsql php${PHP_VERSION}-phar php${PHP_VERSION}-session php${PHP_VERSION}-simplexml php${PHP_VERSION}-tokenizer php${PHP_VERSION}-xml php${PHP_VERSION}-xmlwriter php${PHP_VERSION}-zip php${PHP_VERSION}-zlib php${PHP_VERSION}-bcmath php${PHP_VERSION}-ctype php${PHP_VERSION}-fileinfo php${PHP_VERSION}-ftp php${PHP_VERSION}-gettext php${PHP_VERSION}-ldap php${PHP_VERSION}-openssl php${PHP_VERSION}-sockets php${PHP_VERSION}-sysvsem php${PHP_VERSION}-sysvshm php${PHP_VERSION}-sysvmsg php${PHP_VERSION}-shmop php${PHP_VERSION}-soap php${PHP_VERSION}-sockets php${PHP_VERSION}-sysvmsg php${PHP_VERSION}-sysvsem php${PHP_VERSION}-sysvshm php${PHP_VERSION}-tidy php${PHP_VERSION}-xmlreader php${PHP_VERSION}-pecl-imagick php${PHP_VERSION}-redis php${PHP_VERSION}-pcntl # buildkit
RUN |2 PHP_VERSION=83 PHP_VERSION=83 /bin/sh -c sed -i '/^;error_log = /c\error_log = /proc/self/fd/2' /etc/php${PHP_VERSION}/php-fpm.conf && sed -i '/^;access.log = /c\access.log = /proc/self/fd/2' /etc/php${PHP_VERSION}/php-fpm.d/www.conf && sed -i '/^;catch_workers_output = /c\catch_workers_output = yes' /etc/php${PHP_VERSION}/php-fpm.d/www.conf && sed -i '/^;clear_env = /c\clear_env = no' /etc/php${PHP_VERSION}/php-fpm.d/www.conf && sed -i 's/^listen = 127.0.0.1:9000/listen = 0.0.0.0:9000/' /etc/php${PHP_VERSION}/php-fpm.d/www.conf && sed -i 's/;user_ini.filename = ".user.ini"/user_ini.filename = ".user.ini"/' /etc/php${PHP_VERSION}/php.ini # buildkit
RUN |2 PHP_VERSION=83 PHP_VERSION=83 /bin/sh -c ln -s /usr/sbin/php-fpm${PHP_VERSION} /usr/sbin/php-fpm && ln -s /usr/bin/php${PHP_VERSION} /usr/bin/php # buildkit
RUN |2 PHP_VERSION=83 PHP_VERSION=83 /bin/sh -c wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet # buildkit
RUN |2 PHP_VERSION=83 PHP_VERSION=83 /bin/sh -c echo '#!/bin/sh' > /usr/bin/docker-php-entrypoint && echo 'set -e' >> /usr/bin/docker-php-entrypoint && echo '' >> /usr/bin/docker-php-entrypoint && echo '# first arg is `-f` or `--some-option`' >> /usr/bin/docker-php-entrypoint && echo 'if [ "${1#-}" != "$1" ]; then' >> /usr/bin/docker-php-entrypoint && echo ' set -- php "$@"' >> /usr/bin/docker-php-entrypoint && echo 'fi' >> /usr/bin/docker-php-entrypoint && echo '' >> /usr/bin/docker-php-entrypoint && echo 'exec "$@"' >> /usr/bin/docker-php-entrypoint && chmod +x /usr/bin/docker-php-entrypoint # buildkit
STOPSIGNAL SIGQUIT
WORKDIR /var/www
EXPOSE map[9000/tcp:{}]
USER
ENTRYPOINT ["/usr/bin/docker-php-entrypoint"]
CMD ["php-fpm" "-F" "-R"]
RUN /bin/sh -c mkdir -p /laravel # buildkit
RUN /bin/sh -c mkdir -p /scripts # buildkit
COPY scripts /scripts # buildkit
RUN /bin/sh -c chmod +x /scripts/* # buildkit
WORKDIR /laravel
RUN /bin/sh -c sed -i 's/\/var\/www\/localhost\/htdocs/\/laravel/g' /etc/php${PHP_VERSION}/php-fpm.d/www.conf # buildkit
RUN /bin/sh -c cat /etc/php${PHP_VERSION}/php-fpm.d/www.conf # buildkit
RUN /bin/sh -c wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --install-dir=/usr/local/bin --filename=composer # buildkit
STOPSIGNAL SIGQUIT
CMD ["/scripts/0-boot.sh"]
ENTRYPOINT ["/scripts/0-boot.sh"]
Details
Container
2024-04-11 14:57:28 +02:00
1
OCI / Docker
Versions (1) View all
master 2024-04-11