From 47f302c915b805b79bdfbeef5e6b6c8eb429fc82 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 8 Mar 2026 15:42:06 +0100 Subject: [PATCH] update demo dockerfile (fail-wasm binding permission issue) --- Makefile | 3 +++ docker-compose.yaml | 2 +- fail-demo.dockerfile | 5 ++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 59265799..ccaed4d6 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,6 @@ stop: ssh: ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 5022 fail@127.0.0.1 + +database: + nix shell nixpkgs#mysql-workbench --command mysql-workbench diff --git a/docker-compose.yaml b/docker-compose.yaml index 6646e3d5..133b2bf5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -21,7 +21,7 @@ services: networks: - fail-network volumes: - - "../3 Wasm/examples/build-bochs:/home/fail/fail-wasm/examples/build-bochs" + - "../3 Wasm:/home/fail/fail-wasm-root" networks: fail-network: diff --git a/fail-demo.dockerfile b/fail-demo.dockerfile index 07711f91..afae0bd5 100644 --- a/fail-demo.dockerfile +++ b/fail-demo.dockerfile @@ -13,8 +13,7 @@ RUN chown fail /home/fail/.my.cnf USER fail WORKDIR /home/fail -RUN echo 'export PATH=$HOME/bin:$PATH' >> ~/.profile \ - && echo 'cd $HOME/fail-wasm/examples' >> ~/.profile +RUN echo 'export PATH=$HOME/bin:$PATH' >> ~/.profile WORKDIR fail RUN mkdir build; cd build @@ -150,7 +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 +# RUN git clone https://gitea.vps.chriphost.de/christoph/fail-wasm USER root