Based on:
- I assume that
/dev/nvme0n1
is the system's disk, and/dev/sda
is USB drive.
#!/bin/bash | |
#### | |
# # 1st edition setup script. | |
# # How to use: | |
# # 1. Copy the below setup script to the environment | |
# curl -L -o /tmp/codex-setup-script.sh "https://gist.githubusercontent.com/chrisleekr/5a558061a43b1f92c1d9e337953e5b55/raw/codex-setup-script.sh?$(date +%s)" | |
# chmod +x /tmp/codex-setup-script.sh | |
# /tmp/codex-setup-script.sh |
#!/bin/bash | |
# This script is used to fix the alpine version in the Dockerfile. | |
DOCKERFILE=${1:-"Dockerfile"} | |
echo "Building Dockerfile: $DOCKERFILE" | |
BUILD_OUTPUT=$(docker build --progress plain -f "$DOCKERFILE" . 2>&1) | |
BUILD_STATUS=$? |
Based on:
/dev/nvme0n1
is the system's disk, and /dev/sda
is USB drive.