mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2025-12-06 00:49:39 +01:00
Update PHP Version from 8.3-0RC3 to 8.3 stable version
This commit is contained in:
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@@ -44,9 +44,7 @@ jobs:
|
|||||||
file: "./src/docker/8.2/Dockerfile"
|
file: "./src/docker/8.2/Dockerfile"
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: |
|
tags: "${{env.BUILDKIT_IMAGE}}:8.2"
|
||||||
"${{env.BUILDKIT_IMAGE}}:8.2"
|
|
||||||
"${{env.BUILDKIT_IMAGE}}:latest"
|
|
||||||
-
|
-
|
||||||
name: Build and push 8.1 alpine
|
name: Build and push 8.1 alpine
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
@@ -66,11 +64,21 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
"${{env.BUILDKIT_IMAGE}}:8.2-alpine"
|
"${{env.BUILDKIT_IMAGE}}:8.2-alpine"
|
||||||
-
|
-
|
||||||
name: Build and push 8.3 0RC3
|
name: Build and push 8.3 alpine
|
||||||
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
file: "./src/docker/8.3/Dockerfile.alpine"
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: |
|
||||||
|
"${{env.BUILDKIT_IMAGE}}:8.3-alpine"
|
||||||
|
-
|
||||||
|
name: Build and push 8.3
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
file: "./src/docker/8.3/Dockerfile"
|
file: "./src/docker/8.3/Dockerfile"
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: |
|
tags: |
|
||||||
"${{env.BUILDKIT_IMAGE}}:8.3.0RC3"
|
"${{env.BUILDKIT_IMAGE}}:8.3.0-fpm"
|
||||||
|
"${{env.BUILDKIT_IMAGE}}:latest"
|
||||||
|
|||||||
27
.github/workflows/manual.yaml
vendored
27
.github/workflows/manual.yaml
vendored
@@ -70,9 +70,7 @@ jobs:
|
|||||||
file: "./src/docker/8.2/Dockerfile"
|
file: "./src/docker/8.2/Dockerfile"
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: |
|
tags: "${{env.BUILDKIT_IMAGE}}:8.2"
|
||||||
"${{env.BUILDKIT_IMAGE}}:8.2"
|
|
||||||
"${{env.BUILDKIT_IMAGE}}:latest"
|
|
||||||
-
|
-
|
||||||
name: Build and push 8.1 alpine
|
name: Build and push 8.1 alpine
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
@@ -90,4 +88,25 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: |
|
tags: |
|
||||||
"${{env.BUILDKIT_IMAGE}}:8.2-alpine"
|
"${{env.BUILDKIT_IMAGE}}:8.2-alpine"
|
||||||
|
-
|
||||||
|
name: Build and push 8.3 alpine
|
||||||
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
file: "./src/docker/8.3/Dockerfile.alpine"
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: |
|
||||||
|
"${{env.BUILDKIT_IMAGE}}:8.3-alpine"
|
||||||
|
-
|
||||||
|
name: Build and push 8.3
|
||||||
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
file: "./src/docker/8.3/Dockerfile"
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: |
|
||||||
|
"${{env.BUILDKIT_IMAGE}}:8.3.0-fpm"
|
||||||
|
"${{env.BUILDKIT_IMAGE}}:latest"
|
||||||
|
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
php-fpm:
|
php-fpm:
|
||||||
image: jkaninda/laravel-php-fpm:latest
|
image: jkaninda/laravel-php-fpm:8.3
|
||||||
container_name: php-fpm
|
container_name: php-fpm
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM php:8.2.12-fpm
|
FROM php:8.2-fpm
|
||||||
ARG WORKDIR=/var/www/html
|
ARG WORKDIR=/var/www/html
|
||||||
ENV DOCUMENT_ROOT=${WORKDIR}
|
ENV DOCUMENT_ROOT=${WORKDIR}
|
||||||
ENV LARAVEL_PROCS_NUMBER=1
|
ENV LARAVEL_PROCS_NUMBER=1
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM php:8.3-rc-fpm
|
FROM php:8.3.0-fpm
|
||||||
ARG WORKDIR=/var/www/html
|
ARG WORKDIR=/var/www/html
|
||||||
ENV DOCUMENT_ROOT=${WORKDIR}
|
ENV DOCUMENT_ROOT=${WORKDIR}
|
||||||
ENV LARAVEL_PROCS_NUMBER=1
|
ENV LARAVEL_PROCS_NUMBER=1
|
||||||
|
|||||||
21
src/docker/8.3/Dockerfile.alpine
Normal file
21
src/docker/8.3/Dockerfile.alpine
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
FROM php:8.3-fpm-alpine
|
||||||
|
ARG WORKDIR=/var/www/html
|
||||||
|
ENV DOCUMENT_ROOT=${WORKDIR}
|
||||||
|
ENV LARAVEL_PROCS_NUMBER=1
|
||||||
|
ARG HOST_UID=1000
|
||||||
|
ENV USER=www-data
|
||||||
|
|
||||||
|
# Install the PHP pdo_mysql extention
|
||||||
|
RUN docker-php-ext-install pdo_mysql
|
||||||
|
|
||||||
|
# Install Composer
|
||||||
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
|
|
||||||
|
# Set working directory
|
||||||
|
WORKDIR $WORKDIR
|
||||||
|
|
||||||
|
RUN rm -Rf /var/www/* && \
|
||||||
|
mkdir -p /var/www/html
|
||||||
|
|
||||||
|
ADD src/index.php $WORKDIR/index.php
|
||||||
|
ADD src/php.ini $PHP_INI_DIR/conf.d/
|
||||||
Reference in New Issue
Block a user