Skip to content

Commit 985ba6d

Browse files
feat(docker): Add opencontainers image-spec to Dockerfile (#4897)
For reference more annotations can be found [here](https://github.com/opencontainers/image-spec/blob/main/annotations.md) Co-authored-by: Matthias Fey <[email protected]>
1 parent fd944f3 commit 985ba6d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker/Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
FROM ubuntu:18.04
22

3+
# metainformation
4+
LABEL org.opencontainers.image.version = "2.0.4"
5+
LABEL org.opencontainers.image.authors = "Matthias Fey"
6+
LABEL org.opencontainers.image.source = "https://github.com/pyg-team/pytorch_geometric"
7+
LABEL org.opencontainers.image.licenses = "MIT"
8+
LABEL org.opencontainers.image.base.name="docker.io/library/ubuntu:18.04"
9+
310
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates && \
411
rm -rf /var/lib/apt/lists/*
512

0 commit comments

Comments
 (0)