Skip to content

Commit

Permalink
build: Fix issue with Docker build
Browse files Browse the repository at this point in the history
- GrumPHP composer plugin is running during the Docker build
  - Added flag to ignore plugins and dev dependencies
- Update tag in README to 3.0.0
  • Loading branch information
MontealegreLuis committed Jun 27, 2021
1 parent 1a35833 commit f58adda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ADD composer.* ./
ADD src/ src

RUN composer global require hirak/prestissimo --no-plugins --no-scripts
RUN composer install --optimize-autoloader --prefer-dist --no-progress --no-interaction --ignore-platform-reqs
RUN composer install --no-dev --optimize-autoloader --prefer-dist --no-progress --no-interaction --ignore-platform-reqs --no-plugins

FROM php:7.2.34-cli-alpine3.12 AS phuml
MAINTAINER Luis Montealegre <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ It creates a class diagram from an Object-Oriented codebase based on the UML spe
The official phUML Docker image can be found on [Docker Hub](https://hub.docker.com/r/montealegreluis/phuml/).

```bash
docker pull montealegreluis/phuml:2.0.0
docker pull montealegreluis/phuml:3.0.0
```

You can replace `2.0.0` with any of the available [tags](https://hub.docker.com/r/montealegreluis/phuml/tags?page=1&ordering=last_updated)
You can replace `3.0.0` with any of the available [tags](https://hub.docker.com/r/montealegreluis/phuml/tags?page=1&ordering=last_updated)

### Composer

Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
The official phUML Docker image can be found on [Docker Hub](https://hub.docker.com/r/montealegreluis/phuml/).

```bash
docker pull montealegreluis/phuml:2.0.0
docker pull montealegreluis/phuml:3.0.0
```

You can replace `2.0.0` with any of th available [tags](https://hub.docker.com/r/montealegreluis/phuml/tags?page=1&ordering=last_updated)
You can replace `3.0.0` with any of th available [tags](https://hub.docker.com/r/montealegreluis/phuml/tags?page=1&ordering=last_updated)

## Composer

Expand Down

0 comments on commit f58adda

Please sign in to comment.