Skip to content

Commit bf530a4

Browse files
authored
Update Dockerfile
1 parent b3678f3 commit bf530a4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

ubuntu/standard/2.0/Dockerfile

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
148148
&& rm -rf /var/lib/apt/lists/* \
149149
&& wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" && \
150150
wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \
151-
&& export GNUPGHOME="$(mktemp -d)" \
152-
&& (gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$GPG_KEY" \
153-
|| gpg --keyserver pgp.mit.edu --recv-keys "$GPG_KEY" \
154-
|| gpg --keyserver keyserver.ubuntu.com --recv-keys "$GPG_KEY") \
155-
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
156-
&& rm -r "$GNUPGHOME" python.tar.xz.asc \
151+
# && export GNUPGHOME="$(mktemp -d)" \
152+
# && (gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$GPG_KEY" \
153+
# || gpg --keyserver pgp.mit.edu --recv-keys "$GPG_KEY" \
154+
# || gpg --keyserver keyserver.ubuntu.com --recv-keys "$GPG_KEY") \
155+
# && gpg --batch --verify python.tar.xz.asc python.tar.xz \
156+
# && rm -r "$GNUPGHOME" python.tar.xz.asc \
157157
&& mkdir -p /usr/src/python \
158158
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
159159
&& rm python.tar.xz \
@@ -215,14 +215,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
215215
wget -O php.tar.xz "$PHP_URL"; \
216216
echo "$PHP_DOWNLOAD_SHA *php.tar.xz" | sha256sum -c -; \
217217
wget -O php.tar.xz.asc "$PHP_ASC_URL"; \
218-
export GNUPGHOME="$(mktemp -d)"; \
219-
for key in $GPG_KEYS; do \
220-
( gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" \
221-
|| gpg --keyserver pgp.mit.edu --recv-keys "$key" \
222-
|| gpg --keyserver keyserver.pgp.com --recv-keys "$key" ); \
223-
done; \
224-
gpg --batch --verify php.tar.xz.asc php.tar.xz; \
225-
rm -rf "$GNUPGHOME"; \
218+
# export GNUPGHOME="$(mktemp -d)"; \
219+
# for key in $GPG_KEYS; do \
220+
# ( gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" \
221+
# || gpg --keyserver pgp.mit.edu --recv-keys "$key" \
222+
# || gpg --keyserver keyserver.pgp.com --recv-keys "$key" ); \
223+
# done; \
224+
# gpg --batch --verify php.tar.xz.asc php.tar.xz; \
225+
# rm -rf "$GNUPGHOME"; \
226226
set -eux; \
227227
savedAptMark="$(apt-mark showmanual)"; \
228228
apt-get update; \

0 commit comments

Comments
 (0)