Skip to content

Commit

Permalink
Limit skopeo max process number to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiguash committed Sep 22, 2024
1 parent 4020bdb commit 7a98ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM localhost/cos9-bootc-source:latest
# Note: Gomplate blocks are commented out to avoid hadolint warnings.
# {{ range (.Env.SOURCE_IMAGES | strings.Split ",") }}
RUN --mount=type=secret,id=pullsecret,dst=/run/secrets/pull-secret.json \
skopeo copy \
GOMAXPROCS=8 skopeo copy \
--retry-times 3 \
--authfile /run/secrets/pull-secret.json \
"docker://{{ . }}" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM localhost/rhel94-bootc-source:latest
# Note: Gomplate blocks are commented out to avoid hadolint warnings.
# {{ range (.Env.SOURCE_IMAGES | strings.Split ",") }}
RUN --mount=type=secret,id=pullsecret,dst=/run/secrets/pull-secret.json \
skopeo copy \
GOMAXPROCS=8 skopeo copy \
--retry-times 3 \
--authfile /run/secrets/pull-secret.json \
"docker://{{ . }}" \
Expand Down

0 comments on commit 7a98ec5

Please sign in to comment.