dockerfile: move to repo root

This commit is contained in:
2026-01-28 18:03:30 +01:00
parent 18e1407254
commit e4748f30e6
8 changed files with 13 additions and 13 deletions

1
.gitignore vendored
View File

@ -10,7 +10,6 @@
*.pyc *.pyc
*.swp *.swp
*~ *~
Makefile
build build
build-* build-*
.deps .deps

12
Makefile Normal file
View 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

View File

@ -149,6 +149,7 @@ ARG CACHE_DATE=1970-01-01
WORKDIR /home/fail WORKDIR /home/fail
# RUN git clone https://github.com/danceos/fail-targets.git # 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-targets
RUN git clone https://gitea.vps.chriphost.de/christoph/fail-wasm
USER root USER root

View File

@ -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