Set up and push Docker containers for demonstration purposes
These containers take the place of a desktop install
This commit is contained in:
committed by
=Michael Hohn
parent
681fcdab8c
commit
1e2df515e3
28
Makefile
28
Makefile
@@ -14,22 +14,34 @@ html: README.html
|
||||
dbt: client-qldbtools-container
|
||||
client-qldbtools-container:
|
||||
cd client/containers/qldbtools && \
|
||||
docker build -t $@ .
|
||||
docker build -t $@:0.1.24 .
|
||||
touch $@
|
||||
|
||||
# Run a shell in the container with the qldbtools
|
||||
dbt-run:
|
||||
docker run --rm -it client-qldbtools-container /bin/bash
|
||||
dbt-run: dbt
|
||||
docker run --rm -it client-qldbtools-container:0.1.24 /bin/bash
|
||||
|
||||
dbt-run:
|
||||
docker run --rm -it client-qldbtools-container /bin/bash
|
||||
# Run one of the scripts in the container as check
|
||||
dbt-check: dbt
|
||||
docker run --rm -it client-qldbtools-container:0.1.24 mc-db-initial-info
|
||||
|
||||
dbt-push: dbt
|
||||
docker tag client-qldbtools-container:0.1.24 ghcr.io/hohn/client-qldbtools-container:0.1.24
|
||||
docker push ghcr.io/hohn/client-qldbtools-container:0.1.24
|
||||
touch $@
|
||||
|
||||
dbt-check:
|
||||
docker run --rm -it client-qldbtools-container mc-db-initial-info
|
||||
|
||||
ghm: client-ghmrva-container
|
||||
client-ghmrva-container:
|
||||
cd client/containers/ghmrva && \
|
||||
docker build -t $@ .
|
||||
docker build -t $@:0.1.24 .
|
||||
touch $@
|
||||
|
||||
ghm-push: ghm
|
||||
docker tag client-ghmrva-container:0.1.24 ghcr.io/hohn/client-ghmrva-container:0.1.24
|
||||
docker push ghcr.io/hohn/client-ghmrva-container:0.1.24
|
||||
touch $@
|
||||
|
||||
ghm-run:
|
||||
docker run --rm client-ghmrva-container --help
|
||||
|
||||
|
||||
Reference in New Issue
Block a user