Migrate entries from global Makefile to local
This commit is contained in:
committed by
=Michael Hohn
parent
bef8a6dc97
commit
2d92ad51c3
16
Makefile
16
Makefile
@@ -31,22 +31,6 @@ mk.dbt-push: mk.client-qldbtools-container
|
|||||||
docker push ghcr.io/hohn/client-qldbtools-container:0.1.24
|
docker push ghcr.io/hohn/client-qldbtools-container:0.1.24
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
ghm: mk.client-ghmrva-container
|
|
||||||
mk.client-ghmrva-container:
|
|
||||||
cd client/containers/ghmrva && \
|
|
||||||
docker build -t client-ghmrva-container:0.1.24 .
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
|
|
||||||
ghm-push: mk.ghm-push
|
|
||||||
mk.ghm-push: mk.client-ghmrva-container
|
|
||||||
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 -it ghcr.io/hohn/client-ghmrva-container:0.1.24 /bin/bash
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
cd cmd/server && GOOS=linux GOARCH=arm64 go build
|
cd cmd/server && GOOS=linux GOARCH=arm64 go build
|
||||||
|
|
||||||
|
|||||||
13
client/containers/ghmrva/Makefile
Normal file
13
client/containers/ghmrva/Makefile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
ghm: mk.client-ghmrva-container
|
||||||
|
mk.client-ghmrva-container:
|
||||||
|
docker build -t client-ghmrva-container:0.1.24 .
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
ghm-push: mk.ghm-push
|
||||||
|
mk.ghm-push: mk.client-ghmrva-container
|
||||||
|
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 -it ghcr.io/hohn/client-ghmrva-container:0.1.24 /bin/bash
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
* MRVA cli tools container
|
* MRVA cli tools container
|
||||||
Set up via
|
Set up / run:
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
# Build
|
# Build
|
||||||
cd ~/work-gh/mrva/mrvacommander/
|
cd ~/work-gh/mrva/mrvacommander/client/containers/ghmrva/
|
||||||
make ghm
|
make ghm
|
||||||
# Run
|
# Run
|
||||||
docker run --rm gh-mrva
|
docker run -ti client-ghmrva-container:0.1.24 /bin/bash
|
||||||
# Push
|
# Push
|
||||||
make ghm-push
|
make ghm-push
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user