Skip to content

Commit

Permalink
Try disabling ipv6 for gnupg
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenoy committed Aug 22, 2023
1 parent 44a7352 commit d52997b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ RUN set -ex \
#&& add-apt-repository ppa:osgeolive/nightly \
#&& add-apt-repository ppa:ubuntugis/ubuntugis-unstable \
&& add-apt-repository ppa:ubuntugis/ppa \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 \
&& mkdir ~/.gnupg \
&& echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
&& echo "OK " \
&& apt-key adv --homedir ~/.gnupg --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 \
&& add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' \
&& add-apt-repository ppa:mmomtchev/libnode \
\
Expand Down
7 changes: 5 additions & 2 deletions Dockerfile-MOZJS
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ RUN set -ex \
#&& add-apt-repository ppa:osgeolive/nightly \
#&& add-apt-repository ppa:ubuntugis/ubuntugis-unstable \
&& add-apt-repository ppa:ubuntugis/ppa \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 \
&& mkdir ~/.gnupg \
&& echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
&& echo "OK " \
&& apt-key adv --homedir ~/.gnupg --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 \
&& add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' \
\
&& apt-get install -y $RUN_DEPS \
Expand All @@ -47,7 +50,7 @@ RUN set -ex \
&& dpkg --force-depends -i libmozjs185-1.0_1.8.5-1.0.0+dfsg-7_amd64.deb \
&& dpkg --force-depends -i libmozjs185-dev_1.8.5-1.0.0+dfsg-7_amd64.deb \
&& apt -y --fix-broken install \
&& rm /libmozjs185*.deb \
&& rm libmozjs185*.deb \
\
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_DEPS \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit d52997b

Please sign in to comment.