diff --git a/docker/Dockerfile.ci_gpu b/docker/Dockerfile.ci_gpu index 532516d50c2b..5a553015b3c6 100644 --- a/docker/Dockerfile.ci_gpu +++ b/docker/Dockerfile.ci_gpu @@ -85,6 +85,9 @@ RUN bash /install/ubuntu_install_tflite.sh COPY install/ubuntu_install_caffe2.sh /install/ubuntu_install_caffe2.sh RUN bash /install/ubuntu_install_caffe2.sh +COPY install/ubuntu_install_dgl.sh /install/ubuntu_install_dgl.sh +RUN bash /install/ubuntu_install_dgl.sh + RUN pip3 install Pillow COPY install/ubuntu_install_vulkan.sh /install/ubuntu_install_vulkan.sh diff --git a/docker/Dockerfile.demo_cpu b/docker/Dockerfile.demo_cpu index a9f13bb288bc..9ac27add2ae2 100644 --- a/docker/Dockerfile.demo_cpu +++ b/docker/Dockerfile.demo_cpu @@ -38,7 +38,7 @@ RUN echo deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main \ RUN pip3 install matplotlib Image Pillow jupyter[notebook] # Deep learning frameworks -RUN pip3 install mxnet tensorflow keras gluoncv +RUN pip3 install mxnet tensorflow keras gluoncv dgl # Build TVM COPY install/install_tvm_cpu.sh /install/install_tvm_cpu.sh diff --git a/docker/Dockerfile.demo_gpu b/docker/Dockerfile.demo_gpu index 88cc00a615a6..da5af23de90a 100644 --- a/docker/Dockerfile.demo_gpu +++ b/docker/Dockerfile.demo_gpu @@ -38,7 +38,7 @@ RUN echo deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main \ RUN pip3 install matplotlib Image Pillow jupyter[notebook] # Deep learning frameworks -RUN pip3 install mxnet tensorflow keras gluoncv +RUN pip3 install mxnet tensorflow keras gluoncv dgl # Build TVM COPY install/install_tvm_gpu.sh /install/install_tvm_gpu.sh diff --git a/docker/install/ubuntu_install_dgl.sh b/docker/install/ubuntu_install_dgl.sh new file mode 100644 index 000000000000..50c540983aa0 --- /dev/null +++ b/docker/install/ubuntu_install_dgl.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +set -e +set -u +set -o pipefail + +pip3 install dgl