Compare commits

..

No commits in common. "1f8a5f09c517eb1a59125ab43b0c7763817d5021" and "5d1a7c80dfb08b4514ddba194ba249401ce12c23" have entirely different histories.

16 changed files with 5 additions and 8023 deletions

View File

@ -1,4 +1,4 @@
FROM php:7.4-fpm-bullseye FROM php:7.3.33-fpm-bullseye
# Set build shell to bash, default has has some issues sometimes # Set build shell to bash, default has has some issues sometimes
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]
@ -15,6 +15,6 @@ RUN apt update \
# Configure and Install mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg # Configure and Install mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& docker-php-ext-configure pcntl --enable-pcntl \ && docker-php-ext-configure pcntl --enable-pcntl \
&& docker-php-ext-configure zip \ && docker-php-ext-configure zip --with-libzip \
&& docker-php-ext-configure gd \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm} && docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm}

View File

@ -14,4 +14,4 @@ services:
- linux/arm/v7 - linux/arm/v7
- linux/arm64 - linux/arm64
hostname: fpm hostname: fpm
image: git.shihaam.dev/dockerfiles/php-fpm:8.1 image: git.shihaam.dev/dockerfiles/php-fpm:7.3.33

View File

@ -1,17 +0,0 @@
version: '3.5'
services:
#########################
fpm:
build:
context: .
dockerfile: Dockerfile
x-bake:
pull: true
platforms:
- linux/amd64/v1
- linux/amd64/v2
- linux/amd64/v3
- linux/arm/v7
- linux/arm64
hostname: fpm
image: git.shihaam.dev/dockerfiles/php-fpm:7.4

View File

@ -1,20 +0,0 @@
FROM php:8.0.2-fpm-buster
# Set build shell to bash, default has has some issues sometimes
SHELL ["/bin/bash", "-c"]
# Install basic tools
## libzip-dev is required for php-zip
## libfreetype6-dev libjpeg62-turbo-dev are required for php-gd
RUN apt update \
&& apt install curl nano iputils-ping libzip-dev zip unzip libfreetype6-dev libjpeg62-turbo-dev -y --no-install-recommends \
&& apt auto-remove -y \
&& apt clean -y
## Install composer and some base extensions
# Configure and Install mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm}
# Copy php.ini config
COPY php.ini /usr/local/etc/php/php.ini

View File

@ -1,17 +0,0 @@
version: '3.5'
services:
#########################
fpm:
build:
context: .
dockerfile: Dockerfile
x-bake:
pull: true
platforms:
- linux/amd64/v1
- linux/amd64/v2
- linux/amd64/v3
- linux/arm/v7
- linux/arm64
hostname: fpm
image: git.shihaam.dev/dockerfiles/php-fpm:8.0.2

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
FROM php:8.1-fpm-bullseye
# Set build shell to bash, default has has some issues sometimes
SHELL ["/bin/bash", "-c"]
# Install basic tools
## libzip-dev is required for php-zip
## libfreetype6-dev libjpeg62-turbo-dev are required for php-gd
RUN apt update \
&& apt install curl nano iputils-ping libzip-dev zip unzip libfreetype6-dev libjpeg62-turbo-dev -y --no-install-recommends \
&& apt auto-remove -y \
&& apt clean -y
## Install composer and some base extensions
# Configure and Install mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm}
# Copy php.ini config
COPY php.ini /usr/local/etc/php/php.ini

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
FROM php:8.2-fpm-bullseye
# Set build shell to bash, default has has some issues sometimes
SHELL ["/bin/bash", "-c"]
# Install basic tools
## libzip-dev is required for php-zip
## libfreetype6-dev libjpeg62-turbo-dev are required for php-gd
RUN apt update \
&& apt install curl nano iputils-ping libzip-dev zip unzip libfreetype6-dev libjpeg62-turbo-dev -y --no-install-recommends \
&& apt auto-remove -y \
&& apt clean -y
## Install composer and some base extensions
# Configure and Install mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm}
# Copy php.ini config
COPY php.ini /usr/local/etc/php/php.ini

View File

@ -1,17 +0,0 @@
version: '3.5'
services:
#########################
fpm:
build:
context: .
dockerfile: Dockerfile
x-bake:
pull: true
platforms:
- linux/amd64/v1
- linux/amd64/v2
- linux/amd64/v3
- linux/arm/v7
- linux/arm64
hostname: fpm
image: git.shihaam.dev/dockerfiles/php-fpm:8.2

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +0,0 @@
FROM php:8.3-fpm-bullseye
# Set build shell to bash, default has has some issues sometimes
SHELL ["/bin/bash", "-c"]
# Install basic tools
## libzip-dev is required for php-zip
## libfreetype6-dev libjpeg62-turbo-dev are required for php-gd
RUN apt update \
&& apt install curl nano iputils-ping libzip-dev zip unzip libfreetype6-dev libjpeg62-turbo-dev -y --no-install-recommends \
&& apt auto-remove -y \
&& apt clean -y
# Install dependencies for intl extension
RUN apt-get update && apt-get install -y \
libicu-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl
RUN docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,intl,gd,zip}
# Copy php.ini config
COPY php.ini /usr/local/etc/php/php.ini

View File

@ -1,15 +0,0 @@
services:
fpm:
build:
context: .
dockerfile: Dockerfile
x-bake:
pull: true
platforms:
- linux/amd64/v1
- linux/amd64/v2
- linux/amd64/v3
- linux/arm/v7
- linux/arm64
hostname: fpm
image: git.shihaam.dev/dockerfiles/php-fpm:8.3

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ for dir in */; do
cd "$dir" cd "$dir"
# Run docker build and push # Run docker build and push
docker buildx bake --load docker buildx bake --push
# Change back to the parent directory # Change back to the parent directory
cd .. cd ..

View File

@ -1,17 +0,0 @@
#!/bin/bash
#COMPOSE_DOCKER_CLI_BUILD=1
#DOCKER_BUILDKIT=1
#DOCKER_DEFAULT_PLATFORM=linux/amd64
# Loop through each directory
for dir in */; do
# Change into the directory
cd "$dir"
# Run docker build and push
docker buildx bake --push
# Change back to the parent directory
cd ..
done