mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 19:54:32 +00:00
- Rewrite stale foreign home prefixes when loading env defaults (macOS <-> Linux)
- Write /Users/chrisfu-relative values to env.sh; sanitize prole.cfg paths to use ${HOME}
- Remove remaining /Users/chrisfu defaults from helper scripts and OpenTofu kubeconfig path
- Make installer tests more reliable by forcing repo root to front of sys.path
Co-authored-by: Junie <junie@jetbrains.com>
15 lines
592 B
Bash
Executable File
15 lines
592 B
Bash
Executable File
# softwareupdate --install-rosetta
|
|
# docker pull mcr.microsoft.com/mssql/server:2022-latest
|
|
|
|
if [[ -z "${MSSQL_SA_PASSWORD:-}" ]]; then
|
|
echo "ERROR: MSSQL_SA_PASSWORD is required. Store it in OpenBao (kv/prole/<namespace>/mssql#sa_password) or export it." >&2
|
|
exit 1
|
|
fi
|
|
|
|
PROLE_HOME="${PROLE_HOME:-$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)}"
|
|
|
|
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=$MSSQL_SA_PASSWORD" \
|
|
-p 1433:1433 --name mssql-server --platform linux/amd64 \
|
|
-v "${PROLE_HOME}/mssql/data:/var/opt/mssql/data" \
|
|
-d mcr.microsoft.com/mssql/server:2022-latest
|