Skip to content

Commit

Permalink
Upgrade PHP v8.1.29
Browse files Browse the repository at this point in the history
  • Loading branch information
zebby76 committed Jul 9, 2024
1 parent 610e3ad commit da4f0d4
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.28
PHP_VERSION=8.1.29

# 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.19 AS node
FROM php:${VERSION_ARG:-8.1.28}-fpm-alpine3.19 AS fpm-prd
FROM php:${VERSION_ARG:-8.1.29}-fpm-alpine3.19 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.28}-cli-alpine3.19 AS cli-prd
FROM php:${VERSION_ARG:-8.1.29}-cli-alpine3.19 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.28
make build-fpm PHP_VERSION=8.1.29
```

__Provide docker image__ : `docker.io/elasticms/base-php:8.1.28-fpm-prd`
__Provide docker image__ : `docker.io/elasticms/base-php:8.1.29-fpm-prd`

```sh
make build-fpm PHP_VERSION=8.1.28 DOCKER_IMAGE_NAME=docker.io/lambdauser/mybasephpimage
make build-fpm PHP_VERSION=8.1.29 DOCKER_IMAGE_NAME=docker.io/lambdauser/mybasephpimage
```

__Provide docker image__ : `docker.io/lambdauser/mybasephpimage:8.1.28-fpm-prd`
__Provide docker image__ : `docker.io/lambdauser/mybasephpimage:8.1.29-fpm-prd`

## Example building __fpm__ variant __dev__ Docker image

```sh
make build-fpm-dev PHP_VERSION=8.1.28
make build-fpm-dev PHP_VERSION=8.1.29
```

__Provide docker image__ : `docker.io/elasticms/base-php:8.1.28-fpm-dev`
__Provide docker image__ : `docker.io/elasticms/base-php:8.1.29-fpm-dev`

## Example building __nginx__ variant __dev__ Docker image

```sh
make build-nginx-dev PHP_VERSION=8.1.28
make build-nginx-dev PHP_VERSION=8.1.29
```

__Provide docker image__ : `docker.io/elasticms/base-php:8.1.28-nginx-dev`
__Provide docker image__ : `docker.io/elasticms/base-php:8.1.29-nginx-dev`

## Example building __all__ variants Docker image

```sh
make build-all PHP_VERSION=8.1.28
make build-all PHP_VERSION=8.1.29
```

__Provide docker images__ :

- `docker.io/elasticms/base-php:8.1.28-fpm-prd`
- `docker.io/elasticms/base-php:8.1.28-fpm-dev`
- `docker.io/elasticms/base-php:8.1.28-apache-prd`
- `docker.io/elasticms/base-php:8.1.28-apache-dev`
- `docker.io/elasticms/base-php:8.1.28-nginx-prd`
- `docker.io/elasticms/base-php:8.1.28-nginx-dev`
- `docker.io/elasticms/base-php:8.1.28-cli-prd`
- `docker.io/elasticms/base-php:8.1.28-cli-dev`
- `docker.io/elasticms/base-php:8.1.29-fpm-prd`
- `docker.io/elasticms/base-php:8.1.29-fpm-dev`
- `docker.io/elasticms/base-php:8.1.29-apache-prd`
- `docker.io/elasticms/base-php:8.1.29-apache-dev`
- `docker.io/elasticms/base-php:8.1.29-nginx-prd`
- `docker.io/elasticms/base-php:8.1.29-nginx-dev`
- `docker.io/elasticms/base-php:8.1.29-cli-prd`
- `docker.io/elasticms/base-php:8.1.29-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.28
make test PHP_VERSION=8.1.29
```

## Example testing of __dev__ builded docker image

```sh
make test-dev PHP_VERSION=8.1.28
make test-dev PHP_VERSION=8.1.29
```

# Releases
Expand Down

0 comments on commit da4f0d4

Please sign in to comment.