mirror of
https://github.com/t2linux/T2-Ubuntu.git
synced 2024-11-05 05:43:58 +03:00
15 lines
217 B
Bash
Executable File
15 lines
217 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
DOCKER_IMAGE=ubuntu:20.04
|
|
|
|
docker pull ${DOCKER_IMAGE}
|
|
docker run \
|
|
--privileged \
|
|
--rm \
|
|
-t \
|
|
-v "$(pwd)":/repo \
|
|
${DOCKER_IMAGE} \
|
|
/bin/bash -c 'cd /repo && ./build.sh'
|