Skip to content

Commit

Permalink
build[Dockerfile]: Increase cpm config timeout to give more time to s…
Browse files Browse the repository at this point in the history
…uccessfull install a package
  • Loading branch information
sidey79 committed Apr 13, 2024
1 parent e31d71c commit eb184c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Dockerfile-bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ RUN <<EOF
if [ "${TARGETPLATFORM}" != "linux/amd64" ] && [ "${TARGETPLATFORM}" != "linux/i386" ]; then
sed -i '/Device::Firmata::Constants/d' /usr/src/app/core-cpanfile
fi
cpm install --without-test --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global
cpm install --without-test --with-suggests --with-recommends --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global
cpm install --without-test --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global --configure-timeout=180
cpm install --without-test --with-suggests --with-recommends --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global --configure-timeout=180

rm -rf /root/.cpanm
rm -rf /root/.perl-cpm
Expand Down Expand Up @@ -237,7 +237,7 @@ RUN <<EOF
sed -i '/Device::Firmata::Constants/d' /usr/src/app/3rdparty-cpanfile
fi

cpm install --cpanfile /usr/src/app/3rdparty-cpanfile --without-test --with-recommends --with-suggests --show-build-log-on-failure --global
cpm install --cpanfile /usr/src/app/3rdparty-cpanfile --without-test --with-recommends --with-suggests --show-build-log-on-failure --global --configure-timeout=180
rm -rf /root/.cpanm
rm -rf /root/.perl-cpm
EOF
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile-threaded-bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN <<EOF
if [ "${TARGETPLATFORM}" != "linux/amd64" ] && [ "${TARGETPLATFORM}" != "linux/i386" ]; then
sed -i '/Device::Firmata::Constants/d' /usr/src/app/core-cpanfile
fi
cpm install --without-test --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global
cpm install --without-test --with-suggests --with-recommends --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global
cpm install --without-test --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global --configure-timeout=180
cpm install --without-test --with-suggests --with-recommends --cpanfile /usr/src/app/core-cpanfile --show-build-log-on-failure --global --configure-timeout=180

rm -rf /root/.cpanm
rm -rf /root/.perl-cpm/
Expand Down Expand Up @@ -209,7 +209,7 @@ RUN <<EOF
sed -i '/Device::Firmata::Constants/d' /usr/src/app/3rdparty-cpanfile
fi

cpm install --cpanfile /usr/src/app/3rdparty-cpanfile --without-test --with-recommends --with-suggests --show-build-log-on-failure --global
cpm install --cpanfile /usr/src/app/3rdparty-cpanfile --without-test --with-recommends --with-suggests --show-build-log-on-failure --global --configure-timeout=180
rm -rf /root/.cpanm
rm -rf /root/.perl-cpm
EOF
Expand Down

0 comments on commit eb184c6

Please sign in to comment.