Skip to content

Commit

Permalink
Merge pull request #162 from palantirnet/artifact-ignore-platform-reqs
Browse files Browse the repository at this point in the history
Use `--ignore-platform-reqs` when building an artifact
  • Loading branch information
becw authored Aug 17, 2020
2 parents 69a10f5 + 2e4b2b5 commit 0e16e88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
steps:
- run:
name: Install packages
command: sudo apt-get install -y libpng-dev default-mysql-client
command: |
sudo apt-get update
sudo apt-get install -y libpng-dev default-mysql-client
- run:
name: Install nvm
command: |
Expand Down
4 changes: 3 additions & 1 deletion defaults/install/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
steps:
- run:
name: Install packages
command: sudo apt-get install -y libpng-dev default-mysql-client
command: |
sudo apt-get update
sudo apt-get install -y libpng-dev default-mysql-client
- run:
name: Install nvm
command: |
Expand Down
2 changes: 1 addition & 1 deletion targets/artifact.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
<target name="artifact-build" hidden="true">
<echo>Installing composer dependencies in the artifact...</echo>
<composer command="install" composer="${composer.composer}">
<arg line="--no-interaction --no-dev --working-dir=${artifact.directory}" />
<arg line="--no-interaction --no-dev --ignore-platform-reqs --working-dir=${artifact.directory}" />
</composer>

<echo>Deleting .git subdirectories added by Composer...</echo>
Expand Down

0 comments on commit 0e16e88

Please sign in to comment.