Skip to content

Commit

Permalink
chore: run docker build with local user to avoid permission issues (#399
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ppolito-zextras authored Dec 6, 2023
1 parent 433a4f3 commit 3f5fe6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Ensure you have JDK version 11 installed. Confirm by running:

### 2. Build the source code inside a docker container
```shell
$ docker compose -f './docker/jetty-run/docker-compose.yml' run --rm build
$ UID=${UID} GID=${GID} docker compose -f './docker/jetty-run/docker-compose.yml' run --rm build
```

## Run Carbonio Mailbox locally (for Development)
Expand Down
1 change: 1 addition & 0 deletions docker/jetty-run/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
volumes:
- "./../../:/app"
- "~/.m2:/root/.m2"
user: "${UID}:${GID}"

app:
build:
Expand Down

0 comments on commit 3f5fe6b

Please sign in to comment.