Skip to content

Commit dbf6f4e

Browse files
SauravMaheshkarKiddoZhu
authored andcommitted
Add opencontainers image-spec to Dockerfile
1 parent 518a699 commit dbf6f4e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docker/Dockerfile

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
FROM pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel
22

3+
# metainformation
4+
LABEL org.opencontainers.image.version = "0.1.3"
5+
LABEL org.opencontainers.image.authors = "TorchDrug Team"
6+
LABEL org.opencontainers.image.source = "https://github.com/DeepGraphLearning/torchdrug"
7+
LABEL org.opencontainers.image.licenses = "Apache License 2.0"
8+
LABEL org.opencontainers.image.base.name="docker.io/pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel"
9+
310
RUN apt-get update && \
411
apt-get install -y libxrender1 && \
512
rm -rf /var/lib/apt/lists/*
613

714
RUN pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html && \
8-
pip install torchdrug
15+
pip install torchdrug

0 commit comments

Comments
 (0)