Skip to content

Commit

Permalink
Have make composer and make composerupdate use the same container
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt committed Nov 13, 2024
1 parent 2d52a83 commit edab642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ clean:
docker compose rm -f

composer:
docker compose run --rm composer
docker compose run --rm composer composer install --no-scripts

composerupdate:
docker compose run --rm composerupdate
docker compose run --rm composer bash -c "composer update --no-scripts; composer show --direct > direct-dependencies.txt"

db:
docker compose up -d db
Expand Down
10 changes: 0 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ services:
volumes:
- ./application:/data
working_dir: /data
command: composer install --no-scripts

composerupdate:
image: silintl/developer-portal:local
depends_on:
- base
volumes:
- ./application:/data
working_dir: /data
command: bash -c "composer update --no-scripts; composer show --direct > direct-dependencies.txt"

yiimigrate:
image: silintl/developer-portal:local
Expand Down

0 comments on commit edab642

Please sign in to comment.