Files
T2-Mint/build_in_docker.sh
2024-07-27 16:28:54 +05:30

15 lines
220 B
Bash
Executable File

#!/bin/bash
set -eu -o pipefail
DOCKER_IMAGE=ubuntu:24.04
docker pull ${DOCKER_IMAGE}
docker run \
--privileged \
--rm \
-t \
-v "$(pwd)":/repo \
${DOCKER_IMAGE} \
/bin/bash -c "cd /repo && ./build.sh $1"