cube-studio/images/jupyter-notebook/build.sh
2022-06-08 19:15:22 +08:00

13 lines
484 B
Bash

set -ex
hubhost=ccr.ccs.tencentyun.com/cube-studio
base_image=ubuntu:18.04
docker build -t $hubhost/notebook:jupyter-ubuntu-cpu-base --build-arg FROM_IMAGES=$base_image -f Dockerfile-ubuntu-base .
docker push $hubhost/notebook:jupyter-ubuntu-cpu-base
base_image=nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
docker build -t $hubhost/notebook:jupyter-ubuntu-gpu-base --build-arg FROM_IMAGES=$base_image -f Dockerfile-ubuntu-base .
docker push $hubhost/notebook:jupyter-ubuntu-gpu-base