I found one or two issues with my use case. I wanted to create the docker image, but I have 2 problems.
Problem 1 is that tar want to tar a socket but that is problematic. A fix might be to not tar files of type sockets.
ERRO[0004] Can't add file /var/lib/containers/storage/overlay/8b4ec764304801bc3a3d69dabc237f3fe7db7f658d88d7d56d7d111a3513a369/diff/opt/app-root/src/.gnupg/S.gpg-agent.extra to tar: archive/tar: sockets not supported
Problem 2 is that i get the Error Rename internal storage file from phars.xml
to registry.xml
. When not ussing my wokraound, but this might be the because of problem 1. Though I have seen Problem 2 also under a non docker env wiht centos 8.
Here is my test case and below the output.
# Test image for php devops
FROM ubi8/php-74
LABEL maintainer="[email protected]" \
org.label-schema.schema-version="1.0" \
org.label-schema.name="Builder and management image for cloud native systems with S2I, Docker in Docker, Operators, HELM, Kubernetes Deployments ..." \
org.label-schema.vendor="xrow GmbH" \
org.label-schema.license="GPLv2"
ENV LANG="en_US.UTF-8"
ENV TRUSTEES="9D8A98B29B2D5D79,4AA394086372C20A,CF1A108D0E7AE720,E82B2FB314E9906E"
USER root
RUN yum install -y gpg \
&& yum clean all \
&& rm -Rf /var/cache/yum
RUN wget -O phive.phar https://phar.io/releases/phive.phar \
&& wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc \
&& gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79 \
&& gpg --verify phive.phar.asc phive.phar \
&& chmod +x phive.phar \
&& mv phive.phar /usr/bin/phive
#WORKAROUND
RUN rm -Rf /opt/app-root/src/.phive
RUN phive install --trust-gpg-keys $TRUSTEES --copy phpcpd -t /usr/bin
#WORKAROUND
RUN rm -Rf /opt/app-root/src/.phive
RUN phive install --trust-gpg-keys $TRUSTEES --copy phpstan -t /usr/bin
#WORKAROUND
RUN rm -Rf /opt/app-root/src/.phive
RUN phive install --trust-gpg-keys $TRUSTEES --copy php-cs-fixer -t /usr/bin
#WORKAROUND
RUN rm -Rf /opt/app-root/src/.phive
[root@localhost symfony]# podman build -f Dockerfile .
STEP 1: FROM ubi8/php-74
STEP 2: LABEL maintainer="[email protected]" org.label-schema.schema-version="1.0" org.label-schema.name="Builder and management image for cloud native systems with S2I, Docker in Docker, Operators, HELM, Kubernetes Deployments ..." org.label-schema.vendor="xrow GmbH" org.label-schema.license="GPLv2"
--> Using cache 75d9a0ff2663c097b2ce751ff72b7da16e6f5cdb5c2944c1e0c01489670074b5
--> 75d9a0ff266
STEP 3: ENV LANG="en_US.UTF-8"
--> Using cache 3295ee8af19367627f8a2ecba06b8efe400cfbd67c3bfc09b40f6ba986f119b1
--> 3295ee8af19
STEP 4: ENV TRUSTEES="9D8A98B29B2D5D79,4AA394086372C20A,CF1A108D0E7AE720,E82B2FB314E9906E"
--> 97c6b43e970
STEP 5: USER root
--> 850b51e1a08
STEP 6: RUN yum install -y gpg && yum clean all && rm -Rf /var/cache/yum
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Red Hat Universal Base Image 8 (RPMs) - BaseOS 1.7 MB/s | 770 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - AppStream 12 MB/s | 4.7 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder 49 kB/s | 13 kB 00:00
Package gnupg2-2.2.20-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
25 files removed
--> 673c873a690
STEP 7: RUN wget -O phive.phar https://phar.io/releases/phive.phar && wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc && gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79 && gpg --verify phive.phar.asc phive.phar && chmod +x phive.phar && mv phive.phar /usr/bin/phive
--2020-11-06 18:13:58-- https://phar.io/releases/phive.phar
Resolving phar.io (phar.io)... 188.94.27.6
Connecting to phar.io (phar.io)|188.94.27.6|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar [following]
--2020-11-06 18:13:58-- https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b29f1d00-ac98-11ea-99e6-fac11875271f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181359Z&X-Amz-Expires=300&X-Amz-Signature=19df5047421b33acab8ef10eacba6e3e7a7275db02300787b3fc6f37133e8415&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar&response-content-type=application%2Foctet-stream [following]
--2020-11-06 18:13:59-- https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b29f1d00-ac98-11ea-99e6-fac11875271f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181359Z&X-Amz-Expires=300&X-Amz-Signature=19df5047421b33acab8ef10eacba6e3e7a7275db02300787b3fc6f37133e8415&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.178.139
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.178.139|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 192325 (188K) [application/octet-stream]
Saving to: ‘phive.phar’
phive.phar 100%[=============================>] 187.82K 609KB/s in 0.3s
2020-11-06 18:14:00 (609 KB/s) - ‘phive.phar’ saved [192325/192325]
--2020-11-06 18:14:00-- https://phar.io/releases/phive.phar.asc
Resolving phar.io (phar.io)... 188.94.27.6
Connecting to phar.io (phar.io)|188.94.27.6|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar.asc [following]
--2020-11-06 18:14:01-- https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar.asc
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b3d04a00-ac98-11ea-93b5-2e900b9e8e4c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181401Z&X-Amz-Expires=300&X-Amz-Signature=62c93ebb52bacc42950e57fa138a675d472d72000d408a75e20aae1947283794&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar.asc&response-content-type=application%2Foctet-stream [following]
--2020-11-06 18:14:01-- https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b3d04a00-ac98-11ea-93b5-2e900b9e8e4c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181401Z&X-Amz-Expires=300&X-Amz-Signature=62c93ebb52bacc42950e57fa138a675d472d72000d408a75e20aae1947283794&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar.asc&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.178.139
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.178.139|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 854 [application/octet-stream]
Saving to: ‘phive.phar.asc’
phive.phar.asc 100%[=============================>] 854 --.-KB/s in 0s
2020-11-06 18:14:01 (3.49 MB/s) - ‘phive.phar.asc’ saved [854/854]
gpg: directory '/opt/app-root/src/.gnupg' created
gpg: keybox '/opt/app-root/src/.gnupg/pubring.kbx' created
gpg: keyserver receive failed: Network is unreachable
Error: error building at STEP "RUN wget -O phive.phar https://phar.io/releases/phive.phar && wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc && gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79 && gpg --verify phive.phar.asc phive.phar && chmod +x phive.phar && mv phive.phar /usr/bin/phive": error while running runtime: exit status 2
[root@localhost symfony]# podman build -f Dockerfile2 .
STEP 1: FROM ubi8/php-74
STEP 2: LABEL maintainer="[email protected]" org.label-schema.schema-version="1.0" org.label-schema.name="Builder and management image for cloud native systems with S2I, Docker in Docker, Operators, HELM, Kubernetes Deployments ..." org.label-schema.vendor="xrow GmbH" org.label-schema.license="GPLv2"
--> Using cache 75d9a0ff2663c097b2ce751ff72b7da16e6f5cdb5c2944c1e0c01489670074b5
--> 75d9a0ff266
STEP 3: ENV LANG="en_US.UTF-8"
--> Using cache 3295ee8af19367627f8a2ecba06b8efe400cfbd67c3bfc09b40f6ba986f119b1
--> 3295ee8af19
STEP 4: ENV TRUSTEES="9D8A98B29B2D5D79,4AA394086372C20A,CF1A108D0E7AE720,E82B2FB314E9906E"
--> Using cache 97c6b43e97044a23c23b65fe5ebdab70a403eb5ce59a68c398b2e9bf688718f4
--> 97c6b43e970
STEP 5: USER root
--> Using cache 850b51e1a08766ed60ee574c69d96d6b979bdf14f8e0572f0a251bd60b0173f8
--> 850b51e1a08
STEP 6: RUN yum install -y gpg && yum clean all && rm -Rf /var/cache/yum
--> Using cache 673c873a6903c7a238b96d98ffb88d502133f66cdfb991770e8dcec9533b0c7d
--> 673c873a690
STEP 7: RUN wget -O phive.phar https://phar.io/releases/phive.phar && wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc && gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79 && gpg --verify phive.phar.asc phive.phar && chmod +x phive.phar && mv phive.phar /usr/bin/phive
--2020-11-06 18:14:25-- https://phar.io/releases/phive.phar
Resolving phar.io (phar.io)... 188.94.27.6
Connecting to phar.io (phar.io)|188.94.27.6|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar [following]
--2020-11-06 18:14:25-- https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b29f1d00-ac98-11ea-99e6-fac11875271f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181359Z&X-Amz-Expires=300&X-Amz-Signature=19df5047421b33acab8ef10eacba6e3e7a7275db02300787b3fc6f37133e8415&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar&response-content-type=application%2Foctet-stream [following]
--2020-11-06 18:14:25-- https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b29f1d00-ac98-11ea-99e6-fac11875271f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181359Z&X-Amz-Expires=300&X-Amz-Signature=19df5047421b33acab8ef10eacba6e3e7a7275db02300787b3fc6f37133e8415&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.97.4
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.97.4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 192325 (188K) [application/octet-stream]
Saving to: ‘phive.phar’
phive.phar 100%[=============================>] 187.82K 628KB/s in 0.3s
2020-11-06 18:14:26 (628 KB/s) - ‘phive.phar’ saved [192325/192325]
--2020-11-06 18:14:26-- https://phar.io/releases/phive.phar.asc
Resolving phar.io (phar.io)... 188.94.27.6
Connecting to phar.io (phar.io)|188.94.27.6|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar.asc [following]
--2020-11-06 18:14:27-- https://github.com/phar-io/phive/releases/download/0.14.4/phive-0.14.4.phar.asc
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b3d04a00-ac98-11ea-93b5-2e900b9e8e4c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181401Z&X-Amz-Expires=300&X-Amz-Signature=62c93ebb52bacc42950e57fa138a675d472d72000d408a75e20aae1947283794&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar.asc&response-content-type=application%2Foctet-stream [following]
--2020-11-06 18:14:27-- https://github-production-release-asset-2e65be.s3.amazonaws.com/31674534/b3d04a00-ac98-11ea-93b5-2e900b9e8e4c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201106T181401Z&X-Amz-Expires=300&X-Amz-Signature=62c93ebb52bacc42950e57fa138a675d472d72000d408a75e20aae1947283794&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=31674534&response-content-disposition=attachment%3B%20filename%3Dphive-0.14.4.phar.asc&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.97.4
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.97.4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 854 [application/octet-stream]
Saving to: ‘phive.phar.asc’
phive.phar.asc 100%[=============================>] 854 --.-KB/s in 0s
2020-11-06 18:14:28 (20.2 MB/s) - ‘phive.phar.asc’ saved [854/854]
gpg: directory '/opt/app-root/src/.gnupg' created
gpg: keybox '/opt/app-root/src/.gnupg/pubring.kbx' created
gpg: /opt/app-root/src/.gnupg/trustdb.gpg: trustdb created
gpg: key 9D8A98B29B2D5D79: public key "phar.io <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: Signature made Fri 12 Jun 2020 08:36:35 AM UTC
gpg: using RSA key 6AF725270AB81E04D79442549D8A98B29B2D5D79
gpg: issuer "[email protected]"
gpg: Good signature from "phar.io <[email protected]>" [unknown]
gpg: aka "[jpeg image of size 4811]" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 6AF7 2527 0AB8 1E04 D794 4254 9D8A 98B2 9B2D 5D79
ERRO[0004] Can't add file /var/lib/containers/storage/overlay/8b4ec764304801bc3a3d69dabc237f3fe7db7f658d88d7d56d7d111a3513a369/diff/opt/app-root/src/.gnupg/S.dirmngr to tar: archive/tar: sockets not supported
ERRO[0004] Can't add file /var/lib/containers/storage/overlay/8b4ec764304801bc3a3d69dabc237f3fe7db7f658d88d7d56d7d111a3513a369/diff/opt/app-root/src/.gnupg/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0004] Can't add file /var/lib/containers/storage/overlay/8b4ec764304801bc3a3d69dabc237f3fe7db7f658d88d7d56d7d111a3513a369/diff/opt/app-root/src/.gnupg/S.gpg-agent.browser to tar: archive/tar: sockets not supported
ERRO[0004] Can't add file /var/lib/containers/storage/overlay/8b4ec764304801bc3a3d69dabc237f3fe7db7f658d88d7d56d7d111a3513a369/diff/opt/app-root/src/.gnupg/S.gpg-agent.extra to tar: archive/tar: sockets not supported
ERRO[0004] Can't add file /var/lib/containers/storage/overlay/8b4ec764304801bc3a3d69dabc237f3fe7db7f658d88d7d56d7d111a3513a369/diff/opt/app-root/src/.gnupg/S.gpg-agent.ssh to tar: archive/tar: sockets not supported
--> 6d3e4bf03a1
STEP 8: RUN rm -Rf /opt/app-root/src/.phive
--> 1f68249601b
STEP 9: RUN phive install --trust-gpg-keys $TRUSTEES --copy phpcpd -t /usr/bin
Phive 0.14.4 - Copyright (C) 2015-2020 by Arne Blankerts, Sebastian Heuer and Contributors
Fetching repository list
Downloading https://phar.io/data/repositories.xml
Downloading https://phar.phpunit.de/phive.xml
Downloading https://phar.phpunit.de/phpcpd-6.0.2.phar
Downloading https://phar.phpunit.de/phpcpd-6.0.2.phar.asc
Downloading key 4AA394086372C20A
Trying to connect to keys.openpgp.org (37.218.245.50)
Downloading https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x4AA394086372C20A
Successfully downloaded key.
Fingerprint: D840 6D0D 8294 7747 2937 7831 4AA3 9408 6372 C20A
Sebastian Bergmann <[email protected]>
Sebastian Bergmann <[email protected]>
Sebastian Bergmann <[email protected]>
Sebastian Bergmann <[email protected]>
Sebastian Bergmann <[email protected]>
Created: 2014-07-19
Copying phpcpd-6.0.2.phar to /usr/bin/phpcpd
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.browser to tar: archive/tar: sockets not supported
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.extra to tar: archive/tar: sockets not supported
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.ssh to tar: archive/tar: sockets not supported
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/gpg/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.browser to tar: archive/tar: sockets not supported
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.extra to tar: archive/tar: sockets not supported
ERRO[0007] Can't add file /var/lib/containers/storage/overlay/3bd9b4b361e9a6ce9bce51b2f08ac88c8a53e6d43fd37e39ef6c7c65a22a999d/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.ssh to tar: archive/tar: sockets not supported
--> e0bc526f37a
STEP 10: RUN rm -Rf /opt/app-root/src/.phive
--> 3d3e77aac78
STEP 11: RUN phive install --trust-gpg-keys $TRUSTEES --copy phpstan -t /usr/bin
Phive 0.14.4 - Copyright (C) 2015-2020 by Arne Blankerts, Sebastian Heuer and Contributors
Fetching repository list
Downloading https://phar.io/data/repositories.xml
Downloading https://github.com/phpstan/phpstan/releases/download/0.12.54/phpstan.phar
Downloading https://github.com/phpstan/phpstan/releases/download/0.12.54/phpstan.phar.asc
Downloading key CF1A108D0E7AE720
Trying to connect to keys.openpgp.org (37.218.245.50)
Downloading https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0xCF1A108D0E7AE720
Successfully downloaded key.
Fingerprint: D326 80D5 957D C711 6BE2 9C14 CF1A 108D 0E7A E720
Ondrej Mirtes <[email protected]>
Created: 2019-12-09
Copying phpstan-0.12.54.phar to /usr/bin/phpstan
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.browser to tar: archive/tar: sockets not supported
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.extra to tar: archive/tar: sockets not supported
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.ssh to tar: archive/tar: sockets not supported
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/gpg/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.browser to tar: archive/tar: sockets not supported
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.extra to tar: archive/tar: sockets not supported
ERRO[0014] Can't add file /var/lib/containers/storage/overlay/afab5114cf8ceeefc1c99488b94e3c050b42a2b06986d76637ad7117e6dafd30/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.ssh to tar: archive/tar: sockets not supported
--> d082f313b9a
STEP 12: RUN rm -Rf /opt/app-root/src/.phive
--> dbc1d5c10ed
STEP 13: RUN phive install --trust-gpg-keys $TRUSTEES --copy php-cs-fixer -t /usr/bin
Phive 0.14.4 - Copyright (C) 2015-2020 by Arne Blankerts, Sebastian Heuer and Contributors
Fetching repository list
Downloading https://phar.io/data/repositories.xml
Downloading https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.16.7/php-cs-fixer.phar
Downloading https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.16.7/php-cs-fixer.phar.asc
Downloading key E82B2FB314E9906E
Trying to connect to keys.openpgp.org (37.218.245.50)
Downloading https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0xE82B2FB314E9906E
Successfully downloaded key.
[WARNING] Parsing key data failed with error code 0: No UIDs in key found
Trying to connect to keyserver.ubuntu.com (162.213.33.8)
Successfully downloaded key.
Fingerprint: BBAB 5DF0 A0D6 6729 89CF 1869 E82B 2FB3 14E9 906E
Dariusz Ruminski <[email protected]>
Created: 2015-01-17
Copying php-cs-fixer-2.16.7.phar to /usr/bin/php-cs-fixer
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.browser to tar: archive/tar: sockets not supported
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.extra to tar: archive/tar: sockets not supported
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/_tmp_wrk/S.gpg-agent.ssh to tar: archive/tar: sockets not supported
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/gpg/S.gpg-agent to tar: archive/tar: sockets not supported
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.browser to tar: archive/tar: sockets not supported
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.extra to tar: archive/tar: sockets not supported
ERRO[0020] Can't add file /var/lib/containers/storage/overlay/dc8f18a3a4b9e63b1942de29f76857038d192d81902922dc09395ce2b71602a8/diff/opt/app-root/src/.phive/gpg/S.gpg-agent.ssh to tar: archive/tar: sockets not supported
--> 39b3d12a44e
STEP 14: RUN rm -Rf /opt/app-root/src/.phive
--> 8aeb6aa5264