update demo dockerfile (fail-wasm binding permission issue)
This commit is contained in:
3
Makefile
3
Makefile
@ -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
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user