Composer inefficiency because of missing 'unzip'

Created on 23 May 2023, about 2 years ago

Problem/Motivation

Composer heavily relies on downloading and unzipping zipfiles. Currently the images do not have the `unzip` packages. This is very wastefull for CPU cycles since it now uses PHP to unzip files.

Steps to reproduce

Run anthing. See message in https://git.drupalcode.org/project/keycdn/-/jobs/46307

As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' or '7z' (21.01+) may remediate them.

Proposed resolution

Add unzip to the dockerfiles.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Component

Dockerfile

Created by

πŸ‡³πŸ‡±Netherlands bbrala Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024