Skip to content

[KS-111]: Add PHP 7.4 deploy image without explicit user set

Benjamin Ochocki requested to merge dev/7.4-deploy into main

Running into problems doing the following task: https://jira.team23.de/browse/KS-111 Magento 2 update from version 2.3.5 to 2.4.5-p1

While upgrading from 2.3.5 (php 7.3) to 2.4.3-p3 (php 7.4) i ran into the same permission problems like i had with our php 8.1 image. To solve this i created a new image for php 7.4. In this image I removed the explicitly set user www-data from the Dockerfile.

This was done because the pipeline clones the repository with root permissions and the image had the user set to 'www-data' which led to a permission problem after running composer install.

This Image is for pipeline purposes only. Since we had the same problem with the php 8.1 image, this image was created the same way as the php 8.1-deploy.

Edited by Benjamin Ochocki

Merge request reports