8 changed files with 30 additions and 16 deletions
@ -1,8 +1,10 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
# Several packages need to be installed to use Dockerfile.py |
# Several packages need to be installed to use Dockerfile.py |
||||
# It creates a local container that you can use to build minios-live |
# It creates a local container that you can use to build minios-live |
||||
|
|
||||
|
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" |
||||
apt update && apt install -y docker.io python3-pip |
apt update && apt install -y docker.io python3-pip |
||||
systemctl start docker |
systemctl start docker |
||||
systemctl enable docker |
systemctl enable docker |
||||
pip3 install pydocker |
pip3 install pydocker |
||||
python3 ./Dockerfile.py |
python3 $SCRIPT_DIR/Dockerfile.py |
@ -1,2 +1,2 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
docker run -d --name mlc --privileged -v /build:/build local/mlc /build/install - |
docker run -d --name mlc --privileged -v /build:/build local/mlc /build/minios-live/install - |
||||
|
Loading…
Reference in new issue