mirror of
https://github.com/t2linux/T2-Ubuntu.git
synced 2024-10-26 15:17:39 +03:00
15 lines
217 B
Bash
15 lines
217 B
Bash
|
#!/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'
|