Skip to content

Commit

Permalink
Upgrade to PHP v8.1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
zebby76 committed Oct 31, 2023
1 parent bed7a47 commit f4dec54
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .build.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DOCKER_IMAGE_NAME=docker.io/elasticms/base-php

# Default PHP Version
PHP_VERSION=8.1.23
PHP_VERSION=8.1.25

# Default Versions
NODE_VERSION=18
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG COMPOSER_VERSION_ARG

FROM composer:${COMPOSER_VERSION_ARG:-2.5.8} AS composer
FROM node:${NODE_VERSION_ARG:-18}-alpine3.18 AS node
FROM php:${VERSION_ARG:-8.1.23}-fpm-alpine3.18 AS fpm-prd
FROM php:${VERSION_ARG:-8.1.25}-fpm-alpine3.18 AS fpm-prd

# include(fpm-prd.m4)

Expand All @@ -29,7 +29,7 @@ FROM fpm-dev AS nginx-dev

# include(nginx.m4)

FROM php:${VERSION_ARG:-8.1.23}-cli-alpine3.18 AS cli-prd
FROM php:${VERSION_ARG:-8.1.25}-cli-alpine3.18 AS cli-prd

# include(cli-prd.m4)

Expand Down
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,49 +43,49 @@ Default value of Docker build arguments is grabbed from the [.build.env](.build.
## Example building __fpm__ variant __prd__ Docker image

```sh
make build-fpm PHP_VERSION=8.1.23
make build-fpm PHP_VERSION=8.1.25
```

__Provide docker image__ : `docker.io/elasticms/base-php:8.1.23-fpm-prd`
__Provide docker image__ : `docker.io/elasticms/base-php:8.1.25-fpm-prd`

```sh
make build-fpm PHP_VERSION=8.1.23 DOCKER_IMAGE_NAME=docker.io/lambdauser/mybasephpimage
make build-fpm PHP_VERSION=8.1.25 DOCKER_IMAGE_NAME=docker.io/lambdauser/mybasephpimage
```

__Provide docker image__ : `docker.io/lambdauser/mybasephpimage:8.1.23-fpm-prd`
__Provide docker image__ : `docker.io/lambdauser/mybasephpimage:8.1.25-fpm-prd`

## Example building __fpm__ variant __dev__ Docker image

```sh
make build-fpm-dev PHP_VERSION=8.1.23
make build-fpm-dev PHP_VERSION=8.1.25
```

__Provide docker image__ : `docker.io/elasticms/base-php:8.1.23-fpm-dev`
__Provide docker image__ : `docker.io/elasticms/base-php:8.1.25-fpm-dev`

## Example building __nginx__ variant __dev__ Docker image

```sh
make build-nginx-dev PHP_VERSION=8.1.23
make build-nginx-dev PHP_VERSION=8.1.25
```

__Provide docker image__ : `docker.io/elasticms/base-php:8.1.23-nginx-dev`
__Provide docker image__ : `docker.io/elasticms/base-php:8.1.25-nginx-dev`

## Example building __all__ variants Docker image

```sh
make build-all PHP_VERSION=8.1.23
make build-all PHP_VERSION=8.1.25
```

__Provide docker images__ :

- `docker.io/elasticms/base-php:8.1.23-fpm-prd`
- `docker.io/elasticms/base-php:8.1.23-fpm-dev`
- `docker.io/elasticms/base-php:8.1.23-apache-prd`
- `docker.io/elasticms/base-php:8.1.23-apache-dev`
- `docker.io/elasticms/base-php:8.1.23-nginx-prd`
- `docker.io/elasticms/base-php:8.1.23-nginx-dev`
- `docker.io/elasticms/base-php:8.1.23-cli-prd`
- `docker.io/elasticms/base-php:8.1.23-cli-dev`
- `docker.io/elasticms/base-php:8.1.25-fpm-prd`
- `docker.io/elasticms/base-php:8.1.25-fpm-dev`
- `docker.io/elasticms/base-php:8.1.25-apache-prd`
- `docker.io/elasticms/base-php:8.1.25-apache-dev`
- `docker.io/elasticms/base-php:8.1.25-nginx-prd`
- `docker.io/elasticms/base-php:8.1.25-nginx-dev`
- `docker.io/elasticms/base-php:8.1.25-cli-prd`
- `docker.io/elasticms/base-php:8.1.25-cli-dev`
# Test

## Prerequisite
Expand All @@ -101,13 +101,13 @@ make test[-fpm|-apache|-nginx|-cli|-all][-dev] PHP_VERSION=<PHP Version you want
## Example testing of __prd__ builded docker image

```sh
make test PHP_VERSION=8.1.23
make test PHP_VERSION=8.1.25
```

## Example testing of __dev__ builded docker image

```sh
make test-dev PHP_VERSION=8.1.23
make test-dev PHP_VERSION=8.1.25
```

# Releases
Expand Down

0 comments on commit f4dec54

Please sign in to comment.