Skip to content

Commit

Permalink
Merge pull request #87 from sineverba/release-1.18.0
Browse files Browse the repository at this point in the history
Release 1.18.0
  • Loading branch information
sineverba authored Apr 16, 2024
2 parents 60f6831 + 2f1f47e commit 7a51454
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 42 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ executors:
environment:
DOCKER_IMAGE: php8xc
BINFMT_VERSION: qemu-v7.0.0-28
PHP_VERSION: 8.3.4
PHP_VERSION: 8.3.6
COMPOSER_VERSION: 2.7.2
XDEBUG_VERSION: 3.3.1
XDEBUG_VERSION: 3.3.2
amd64_executor:
machine:
image: ubuntu-2204:current
resource_class: large
environment:
DOCKER_IMAGE: php8xc
BINFMT_VERSION: qemu-v7.0.0-28
PHP_VERSION: 8.3.4
PHP_VERSION: 8.3.6
COMPOSER_VERSION: 2.7.2
XDEBUG_VERSION: 3.3.1
XDEBUG_VERSION: 3.3.2
DELETE_TAG_TAG: 1.0.2
jobs:
test:
Expand All @@ -46,6 +46,7 @@ jobs:
docker run --rm $DOCKER_LOGIN/$DOCKER_IMAGE:test /usr/bin/composer -V | grep $COMPOSER_VERSION
docker run --rm $DOCKER_LOGIN/$DOCKER_IMAGE:test php -i | grep "short_open_tag => Off => Off"
docker run --rm $DOCKER_LOGIN/$DOCKER_IMAGE:test php -i | grep "memory_limit => 512M => 512M"
docker run --rm $DOCKER_LOGIN/$DOCKER_IMAGE:test php -i | grep soap
build_arm64:
executor: arm64_executor
steps:
Expand Down
7 changes: 4 additions & 3 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ global_job_config:
- name: DOCKER_IMAGE
value: php8xc
- name: PHP_VERSION
value: 8.3.4
value: 8.3.6
- name: COMPOSER_VERSION
value: 2.7.2
- name: XDEBUG_VERSION
value: 3.3.1
value: 3.3.2

blocks:
- name: "Test"
Expand All @@ -49,4 +49,5 @@ blocks:
- docker run --rm $DOCKER_USERNAME/$DOCKER_IMAGE php -m | grep pdo_pgsql
- docker run --rm $DOCKER_USERNAME/$DOCKER_IMAGE /usr/bin/composer -V | grep $COMPOSER_VERSION
- docker run --rm $DOCKER_USERNAME/$DOCKER_IMAGE php -i | grep "short_open_tag => Off => Off"
- docker run --rm $DOCKER_USERNAME/$DOCKER_IMAGE php -i | grep "memory_limit => 512M => 512M"
- docker run --rm $DOCKER_USERNAME/$DOCKER_IMAGE php -i | grep "memory_limit => 512M => 512M"
- docker run --rm $DOCKER_USERNAME/$DOCKER_IMAGE php -i | grep soap
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 1.17.1
# 1.18.0
+ Upgrade dependencies
+ Add Soap module

## 1.17.1
+ Fix CircleCI

## 1.17.0
Expand Down
33 changes: 28 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,45 @@ ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0"
ENV XDEBUG_MODE="debug,coverage"
# Install system dependencies
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
git \
curl \
git \
libpng-dev \
libonig-dev \
libpq-dev \
libxml2-dev \
libzip-dev \
zip \
unzip \
libpq-dev
zip
# Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Setup PHPXDebug
RUN pecl install xdebug-$XDEBUG_VERSION
# Install PHP extensions
RUN docker-php-ext-install mysqli pdo pdo_mysql pdo_pgsql mbstring exif pcntl bcmath gd opcache zip \
&& docker-php-ext-enable mysqli pdo pdo_mysql pdo_pgsql mbstring exif pcntl bcmath gd xdebug
RUN docker-php-ext-install \
bcmath \
exif \
gd \
mbstring \
mysqli \
opcache \
pcntl \
pdo \
pdo_mysql \
pdo_pgsql \
soap \
zip \
&& docker-php-ext-enable \
bcmath \
exif \
gd \
mbstring \
mysqli \
pcntl \
pdo \
pdo_mysql \
pdo_pgsql \
soap \
xdebug
# Get latest Composer
COPY --from=composer_downloader /usr/bin/composer /usr/bin/composer
# Add custom ini files
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
IMAGE_NAME=sineverba/php8xc
CONTAINER_NAME=php8xc
APP_VERSION=1.17.0-dev
PHP_VERSION=8.3.4
PHP_VERSION=8.3.6
COMPOSER_VERSION=2.7.2
XDEBUG_VERSION=3.3.1
XDEBUG_VERSION=3.3.2
BUILDX_VERSION=0.13.1
BINFMT_VERSION=qemu-v7.0.0-28

Expand Down Expand Up @@ -48,6 +48,7 @@ test:
@docker run --rm $(IMAGE_NAME):$(APP_VERSION) /usr/bin/composer -V | grep $(COMPOSER_VERSION)
@docker run --rm $(IMAGE_NAME):$(APP_VERSION) php -i | grep "short_open_tag => Off => Off"
@docker run --rm $(IMAGE_NAME):$(APP_VERSION) php -i | grep "memory_limit => 512M => 512M"
@docker run --rm $(IMAGE_NAME):$(APP_VERSION) php -m | grep soap

destroy:
docker image rm php:$(PHP_VERSION)-cli
Expand Down
56 changes: 29 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ php8xc: Docker image for PHP8 + Xdebug + Composer

> Docker image built from **PHP8.y.z** CLI official + **X**debug + **C**omposer, for `linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64` architectures.
`docker pull sineverba/php8xc:1.17.1`
`docker pull sineverba/php8xc:1.18.0`


| CD / CI | |
| --------- | --------- |
| Semaphore CI | [![Build Status](https://sineverba.semaphoreci.com/badges/php8xc/branches/master.svg)](https://sineverba.semaphoreci.com/projects/php8xc) |
| Circle CI | [![CircleCI](https://dl.circleci.com/status-badge/img/gh/sineverba/php8xc/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/sineverba/php8xc/tree/master) |
| Docker Hub | `docker pull sineverba/php8xc:1.17.1` - [Link to image](https://hub.docker.com/r/sineverba/php8xc) |
| Docker Hub | `docker pull sineverba/php8xc:1.18.0` - [Link to image](https://hub.docker.com/r/sineverba/php8xc) |



Expand All @@ -27,31 +27,32 @@ Do you use it? **Star it!**

| Github / Docker Image tag | PHP Version | Composer version | XDebug | Architectures |
|---------------------------|-------------|------------------|--------| ------------- |
| latest | 8.3.4 | 2.7.2 | 3.3.1 | linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.17.1 | 8.3.4 | 2.7.2 | 3.3.1 | linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.17.0 | 8.3.4 | 2.7.2 | 3.3.1 | linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.16.0 | 8.3.0 | 2.6.6 | 3.3.1 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.15.0 | 8.2.8 | 2.5.8 | 3.2.2 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.14.0 | 8.2.3 | 2.5.4 | 3.2.0 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.13.0 | 8.2.2 | 2.5.1 | 3.2.0 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.12.0 | 8.2.1 | 2.5.1 | 3.2.0 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.11.0 | 8.1.11 | 2.4.3 | 3.1.5 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.10.0 | 8.1.4 | 2.3.3 | 3.1.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.9.0 | 8.1.3 | 2.2.6 | 3.1.3 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.8.0 | 8.1.0 | 2.1.14 | 3.1.2 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.7.0 | 8.0.12 | 2.1.9 | 3.1.1 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.6.0 | 8.0.11 | 2.1.8 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.5.0 | 8.0.9 | 2.1.5 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.4.0 | 8.0.7 | 2.0.14 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.3.0 | 8.0.6 | 2.0.13 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.2.0 | 8.0.3 | 2.0.13 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.1.5 | 8.0.3 | 2.0.12 | 3.0.3 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.1.4 | 8.0.3 | 2.0.12 | 3.0.3 | linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/arm64/v8 |
| 1.1.3 | 8.0.3 | 2.0.12 | 3.0.3 | linux/amd64,linux/armhf,linux/arm64 |
| 1.1.2 | 8.0.3 | 2.0.12 | 3.0.3 | linux/amd64,linux/armhf,linux/arm64 |
| 1.1.1 | 8.0.3 | 2.0.12 | 3.0.3 | linux/amd64,linux/armhf,linux/arm64 |
| 1.1.0 | 8.0.3 | 2.0.12 | 3.0.3 | linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 |
| 1.0.0 | 8.0.3 | 2.0.11 | 3.0.3 | linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 |
| latest | 8.3.6 | 2.7.2 | 3.3.2 | linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.18.0 | 8.3.6 | 2.7.2 | 3.3.2 | linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.17.1 | 8.3.4 | 2.7.2 | 3.3.1 | linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.17.0 | 8.3.4 | 2.7.2 | 3.3.1 | linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.16.0 | 8.3.0 | 2.6.6 | 3.3.1 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.15.0 | 8.2.8 | 2.5.8 | 3.2.2 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.14.0 | 8.2.3 | 2.5.4 | 3.2.0 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.13.0 | 8.2.2 | 2.5.1 | 3.2.0 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.12.0 | 8.2.1 | 2.5.1 | 3.2.0 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.11.0 | 8.1.11 | 2.4.3 | 3.1.5 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.10.0 | 8.1.4 | 2.3.3 | 3.1.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.9.0 | 8.1.3 | 2.2.6 | 3.1.3 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.8.0 | 8.1.0 | 2.1.14 | 3.1.2 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.7.0 | 8.0.12 | 2.1.9 | 3.1.1 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.6.0 | 8.0.11 | 2.1.8 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.5.0 | 8.0.9 | 2.1.5 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.4.0 | 8.0.7 | 2.0.14 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.3.0 | 8.0.6 | 2.0.13 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.2.0 | 8.0.3 | 2.0.13 | 3.0.4 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.1.5 | 8.0.3 | 2.0.12 | 3.0.3 | linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 |
| 1.1.4 | 8.0.3 | 2.0.12 | 3.0.3 | linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/arm64/v8 |
| 1.1.3 | 8.0.3 | 2.0.12 | 3.0.3 | linux/amd64,linux/armhf,linux/arm64 |
| 1.1.2 | 8.0.3 | 2.0.12 | 3.0.3 | linux/amd64,linux/armhf,linux/arm64 |
| 1.1.1 | 8.0.3 | 2.0.12 | 3.0.3 | linux/amd64,linux/armhf,linux/arm64 |
| 1.1.0 | 8.0.3 | 2.0.12 | 3.0.3 | linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 |
| 1.0.0 | 8.0.3 | 2.0.11 | 3.0.3 | linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 |

## Xdebug and settings

Expand Down Expand Up @@ -121,6 +122,7 @@ services:
| Reflection |
| session |
| SimpleXML |
| soap |
| sodium |
| SPL |
| sqlite3 |
Expand Down

0 comments on commit 7a51454

Please sign in to comment.