Skip to content

Commit

Permalink
fix: add network timeout
Browse files Browse the repository at this point in the history
Signed-off-by: David Kwon <[email protected]>
  • Loading branch information
dkwon17 authored and olexii4 committed Jun 24, 2022
1 parent b4dec4f commit eddebd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM docker.io/openjdk:16-jdk

RUN microdnf install -y git rsync

ARG MAVEN_VERSION=3.8.5
ARG MAVEN_VERSION=3.8.6
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
# https://github.com/eclipse/dash-licenses/commits May 18, 2022
ARG DASH_LICENSE_REV=6d3828a707cbeffff8280471a9241db6e69b4b47
Expand Down
2 changes: 1 addition & 1 deletion src/package-manager/yarn/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ ! -f $PROJECT_COPY_DIR/yarn.lock ]; then
fi

echo "Generating all dependencies info using yarn..."
yarn licenses list --ignore-engines --json --depth=0 --no-progres > "$TMP_DIR/yarn-deps-info.json"
yarn licenses list --ignore-engines --json --depth=0 --no-progres --network-timeout 300000 > "$TMP_DIR/yarn-deps-info.json"
echo "Done."
echo

Expand Down

0 comments on commit eddebd6

Please sign in to comment.