Skip to content

Commit

Permalink
Merge pull request #1376 from chainguard-dev/use-contextdir
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored Jul 13, 2024
2 parents 875765e + d69c7fd commit 2f1e784
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/build/pipelines/npm/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
prefix:
description: |
The -prefix argument to pass to npm install; where /bin and /lib will be copied to.
default: "${{targets.destdir}}/usr/"
default: "${{targets.contextdir}}/usr/"

overrides:
description: |
Expand Down
6 changes: 3 additions & 3 deletions pkg/build/pipelines/pecl/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ inputs:

pipeline:
- runs: |
make INSTALL_ROOT="${{targets.destdir}}" install
install -d ${{targets.destdir}}/etc/php/conf.d
echo "extension=${{inputs.extension}}.so" > ${{targets.destdir}}/etc/php/conf.d/${{inputs.extension}}.ini
make INSTALL_ROOT="${{targets.contextdir}}" install
install -d ${{targets.contextdir}}/etc/php/conf.d
echo "extension=${{inputs.extension}}.so" > ${{targets.contextdir}}/etc/php/conf.d/${{inputs.extension}}.ini
2 changes: 1 addition & 1 deletion pkg/build/pipelines/perl/cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ needs:

pipeline:
- runs: |
find "${{targets.destdir}}" \( -name perllocal.pod -o -name .packlist \) -delete
find "${{targets.contextdir}}" \( -name perllocal.pod -o -name .packlist \) -delete
2 changes: 1 addition & 1 deletion pkg/build/pipelines/ruby/clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ pipeline:
exit 1
fi
- runs: |
INSTALL_DIR=${{targets.destdir}}/$(ruby -e 'puts Gem.default_dir')
INSTALL_DIR=${{targets.contextdir}}/$(ruby -e 'puts Gem.default_dir')
rm -rf ${INSTALL_DIR}/build_info \
${INSTALL_DIR}/cache

0 comments on commit 2f1e784

Please sign in to comment.