Spaces:
Sleeping
Sleeping
SauravMaheshkar
commited on
Commit
•
ba3d140
1
Parent(s):
18c1f9c
feat(docker): Add opencontainers image-spec to `Dockerfile`
Browse filesThis PR makes a few tiny changes to improve the overall quality of the docker image 🐳 . For reference more annotations can be found [here](https://github.com/opencontainers/image-spec/blob/main/annotations.md)
- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -6,6 +6,12 @@ ARG VERSION=latest
|
|
6 |
|
7 |
FROM --platform=$ARCH julia:$VERSION
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
# Need to use ARG after FROM, otherwise it won't get passed through.
|
10 |
ARG PYVERSION=3.9.10
|
11 |
|
|
|
6 |
|
7 |
FROM --platform=$ARCH julia:$VERSION
|
8 |
|
9 |
+
# metainformation
|
10 |
+
LABEL org.opencontainers.image.version = "0.9.0"
|
11 |
+
LABEL org.opencontainers.image.authors = "Miles Cranmer"
|
12 |
+
LABEL org.opencontainers.image.source = "https://github.com/MilesCranmer/PySR"
|
13 |
+
LABEL org.opencontainers.image.licenses = "Apache License 2.0"
|
14 |
+
|
15 |
# Need to use ARG after FROM, otherwise it won't get passed through.
|
16 |
ARG PYVERSION=3.9.10
|
17 |
|