Skip to content

Commit

Permalink
refactor: rename shell/ container/
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneyJackson committed Nov 10, 2023
1 parent a53559e commit a4bf277
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ Run the tests...
tests/run
```

### Running the tests inside the Docker shell.
### Running the tests inside the official container.

Run the shell...
Run the PLCC container...

```bash
shell/run
container/run
```

Run the tests
You are now running inside the PLCC container. Now run the tests.

```bash
/plcc/tests/run
```
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions shell/docker-compose.yml → container/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: "3.8"
services:
shell:
plcc:
build:
context: ..
dockerfile: ./shell/Dockerfile
image: plcc-shell:build
dockerfile: ./plcc/Dockerfile
image: plcc:build
volumes:
- "${PWD}:/workdir"
4 changes: 4 additions & 0 deletions container/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo "Building and running the PLCC container..."
docker compose -f "$DIR/docker-compose.yml" run --rm plcc
4 changes: 0 additions & 4 deletions shell/run

This file was deleted.

0 comments on commit a4bf277

Please sign in to comment.