Added zip & unzip (fixes Composer's warning when install/update deps)

Fixes warning: "As there is no 'unzip' 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' may remediate them."

Sizes (will be compressed during Docker image build):
* zip +623 kB
* unzip +580 kB

libzip is required to be installed, because PHP zip extension depends on it, but libzip already pre-installed, it handled by:
https://github.com/mlocati/docker-php-extension-installer/blob/1deeb6d6560663cc956e970fda5f87cf163e3528/install-php-extensions#L637
and
https://github.com/mlocati/docker-php-extension-installer/blob/1deeb6d6560663cc956e970fda5f87cf163e3528/install-php-extensions#L934

Signed-off-by: Tema Smirnov <git.tema@smirnov.one>
This commit is contained in:
Tema Smirnov
2020-03-17 05:03:31 +03:00
parent de138f98cd
commit d2a1d3d728
25 changed files with 25 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ RUN buildDeps=" \
runtimeDeps=" \
curl \
git \
zip unzip \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
+1
View File
@@ -11,6 +11,7 @@ RUN buildDeps=" \
runtimeDeps=" \
curl \
git \
zip unzip \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
+1
View File
@@ -11,6 +11,7 @@ RUN buildDeps=" \
runtimeDeps=" \
curl \
git \
zip unzip \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
+1
View File
@@ -11,6 +11,7 @@ RUN buildDeps=" \
runtimeDeps=" \
curl \
git \
zip unzip \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
+1
View File
@@ -11,6 +11,7 @@ RUN buildDeps=" \
runtimeDeps=" \
curl \
git \
zip unzip \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
+1
View File
@@ -11,6 +11,7 @@ RUN buildDeps=" \
runtimeDeps=" \
curl \
git \
zip unzip \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \
+1
View File
@@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
curl \
git \
zip unzip \
&& install-php-extensions \
bcmath \
bz2 \