This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
| |
uid="$(id -u)" | |
user="$(id -un)" | |
dockergid="$(getent group docker | cut -f3 -d:)" | |
| |
if [ "$*" == "--image" ] ; then | |
# rebuild the docker container containing the toolchain | |
docker build -t determined-toolchain - << EOF | |
FROM ubuntu:20.04 |