laravel-runner (php83)
Published 2025-08-04 19:26:21 -06:00 by javif89
Installation
docker pull gitgud.foo/thegrind/laravel-runner:php83
sha256:fae73681d46dd6bf40d9220e40e5f043f890102ab77f55b15c2d31d25d6e1a33
Image Layers
ADD alpine-minirootfs-3.19.8-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
ARG PHP_VERSION=83 |
ENV PHP_VERSION=83 |
RUN |1 PHP_VERSION=83 /bin/sh -c apk add --no-cache git curl wget bash openssh ca-certificates sudo shadow tar gzip unzip jq && apk add --no-cache --virtual .build-deps build-base linux-headers libxml2-dev libpng-dev libjpeg-turbo-dev freetype-dev oniguruma-dev postgresql-dev sqlite-dev icu-dev libzip-dev autoconf g++ make # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c apk add --no-cache php${PHP_VERSION} php${PHP_VERSION}-cli php${PHP_VERSION}-dev php${PHP_VERSION}-curl php${PHP_VERSION}-dom php${PHP_VERSION}-fileinfo php${PHP_VERSION}-gd php${PHP_VERSION}-intl php${PHP_VERSION}-json php${PHP_VERSION}-mbstring php${PHP_VERSION}-openssl php${PHP_VERSION}-pdo php${PHP_VERSION}-pdo_mysql php${PHP_VERSION}-pdo_pgsql php${PHP_VERSION}-pdo_sqlite php${PHP_VERSION}-phar php${PHP_VERSION}-session php${PHP_VERSION}-tokenizer php${PHP_VERSION}-xml php${PHP_VERSION}-xmlreader php${PHP_VERSION}-xmlwriter php${PHP_VERSION}-zip php${PHP_VERSION}-bcmath php${PHP_VERSION}-ctype php${PHP_VERSION}-iconv php${PHP_VERSION}-pcntl php${PHP_VERSION}-posix php${PHP_VERSION}-redis php${PHP_VERSION}-opcache && apk del .build-deps # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c ln -sf /usr/bin/php${PHP_VERSION} /usr/bin/php # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c apk add --no-cache nodejs npm # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c npm install -g yarn pnpm # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c apk add --no-cache go # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c apk add --no-cache docker-cli docker-cli-buildx docker-cli-compose # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c apk add --no-cache github-cli # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c addgroup -g 1001 runner && adduser -D -u 1001 -G runner runner && echo "runner ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers # buildkit |
RUN |1 PHP_VERSION=83 /bin/sh -c echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> /home/runner/.bashrc && echo 'git config --global init.defaultBranch main' >> /home/runner/.bashrc && echo 'git config --global user.name "CI Runner"' >> /home/runner/.bashrc && echo 'git config --global user.email "ci@runner.local"' >> /home/runner/.bashrc && chown runner:runner /home/runner/.bashrc # buildkit |
USER runner |
WORKDIR /home/runner |
EXPOSE map[3000/tcp:{} 5173/tcp:{} 8000/tcp:{}] |
CMD ["bash"] |