dockerfile: move to repo root
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,7 +10,6 @@
|
||||
*.pyc
|
||||
*.swp
|
||||
*~
|
||||
Makefile
|
||||
build
|
||||
build-*
|
||||
.deps
|
||||
|
||||
12
Makefile
Normal file
12
Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
docker:
|
||||
docker build -t fail-base -f fail-base.dockerfile . --build-arg CACHE_DATE="$(shell date)"
|
||||
docker build -t fail-generic-tracing -f fail-generic-tracing.dockerfile .
|
||||
docker build -t fail-demo -f fail-demo.dockerfile . --build-arg CACHE_DATE="$(shell date)"
|
||||
|
||||
run-all: .compose ssh
|
||||
|
||||
.compose:
|
||||
docker compose up -d --force-recreate --renew-anon-volumes -y
|
||||
|
||||
ssh:
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 5022 fail@127.0.0.1
|
||||
@ -149,6 +149,7 @@ ARG CACHE_DATE=1970-01-01
|
||||
WORKDIR /home/fail
|
||||
# RUN git clone https://github.com/danceos/fail-targets.git
|
||||
RUN git clone https://gitea.vps.chriphost.de/christoph/fail-targets
|
||||
RUN git clone https://gitea.vps.chriphost.de/christoph/fail-wasm
|
||||
|
||||
USER root
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
build-all:
|
||||
docker build -t fail-base fail-base --build-arg CACHE_DATE="$(shell date)"
|
||||
docker build -t fail-generic-tracing fail-generic-tracing
|
||||
docker build -t fail-demo fail-demo --build-arg CACHE_DATE="$(shell date)"
|
||||
|
||||
run-all: .compose ssh
|
||||
|
||||
.compose:
|
||||
docker compose up -d --force-recreate --renew-anon-volumes -y
|
||||
|
||||
ssh:
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 5022 fail@127.0.0.1
|
||||
Reference in New Issue
Block a user