update demo dockerfile (fail-wasm binding permission issue)

This commit is contained in:
2026-03-08 15:42:06 +01:00
parent 85f0fc97b5
commit 47f302c915
3 changed files with 6 additions and 4 deletions

View File

@ -11,3 +11,6 @@ stop:
ssh: ssh:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 5022 fail@127.0.0.1 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 5022 fail@127.0.0.1
database:
nix shell nixpkgs#mysql-workbench --command mysql-workbench

View File

@ -21,7 +21,7 @@ services:
networks: networks:
- fail-network - fail-network
volumes: volumes:
- "../3 Wasm/examples/build-bochs:/home/fail/fail-wasm/examples/build-bochs" - "../3 Wasm:/home/fail/fail-wasm-root"
networks: networks:
fail-network: fail-network:

View File

@ -13,8 +13,7 @@ RUN chown fail /home/fail/.my.cnf
USER fail USER fail
WORKDIR /home/fail WORKDIR /home/fail
RUN echo 'export PATH=$HOME/bin:$PATH' >> ~/.profile \ RUN echo 'export PATH=$HOME/bin:$PATH' >> ~/.profile
&& echo 'cd $HOME/fail-wasm/examples' >> ~/.profile
WORKDIR fail WORKDIR fail
RUN mkdir build; cd build RUN mkdir build; cd build
@ -150,7 +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 # RUN git clone https://gitea.vps.chriphost.de/christoph/fail-wasm
USER root USER root