aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-18 23:44:49 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-18 23:44:49 +0100
commit27298bbf6f8c8cee4f603666e46155e3fec89dda (patch)
treeaf4aaa7e95425a475a2f411c4dd2fc4ec9d44ac2
parentUse repository caching for master build (diff)
Remove redundant build commands for Pipfile
I've removed the redundant intermediate image build commands from the Pipfile. Since everything is now contained in one Dockerfile, we can simply build the final image in one go.
-rw-r--r--Pipfile14
-rw-r--r--README.md4
2 files changed, 1 insertions, 17 deletions
diff --git a/Pipfile b/Pipfile
index 0aaada1..af48f23 100644
--- a/Pipfile
+++ b/Pipfile
@@ -64,20 +64,6 @@ build = """
-f docker/Dockerfile \
.
"""
-buildbase = """
- docker build \
- -t ghcr.io/python-discord/snekbox-base:latest \
- -f docker/Dockerfile \
- --target base \
- .
-"""
-buildvenv = """
- docker build \
- -t ghcr.io/python-discord/snekbox-venv:latest \
- -f docker/Dockerfile \
- --target venv \
- .
-"""
builddev = """
docker build \
-t ghcr.io/python-discord/snekbox-venv:dev \
diff --git a/README.md b/README.md
index 4ebe3b6..6765260 100644
--- a/README.md
+++ b/README.md
@@ -67,11 +67,9 @@ pipenv run lint
### Running snekbox
-The Docker images can be built with:
+The Docker image can be built with:
```
-pipenv run buildbase
-pipenv run buildvenv
pipenv run build
```