From 8bc151f336a2a9741436953a428366deb8e4815b Mon Sep 17 00:00:00 2001 From: Marcel Walter Date: Fri, 15 Nov 2024 01:00:09 +0100 Subject: [PATCH] :whale: Unify Dockerfile labels to conform to the Open Container Initiative (OCI) standard (#580) --- Dockerfile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3bfa5f48a..cf5b92921 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,16 @@ FROM ubuntu:24.04 # Optional argument to run the "make" command in parallel with the specified NUMBER_OF_JOBS ARG NUMBER_OF_JOBS=4 -# Metadata labels -LABEL maintainer="Marcel Walter " -LABEL organization="Chair for Design Automation, Technical University of Munich" -LABEL description="Docker image for fiction, an open-source design automation framework for Field-coupled Nanotechnologies." -LABEL license="MIT" -LABEL url="https://www.cda.cit.tum.de/research/nanotech/" -LABEL vcs-url="https://github.com/cda-tum/fiction" +# Unified metadata labels for DockerHub and the Open Container Initiative (OCI) +LABEL maintainer="Marcel Walter " \ + org.opencontainers.image.title="fiction" \ + org.opencontainers.image.description="Docker image for fiction, an open-source design automation framework for Field-coupled Nanotechnologies." \ + org.opencontainers.image.authors="Marcel Walter , Jan Drewniok , Simon Hofmann , Benjamin Hien , Willem Lambooy " \ + org.opencontainers.image.url="https://www.cda.cit.tum.de/research/nanotech/" \ + org.opencontainers.image.source="https://github.com/cda-tum/fiction" \ + org.opencontainers.image.documentation="https://fiction.readthedocs.io/" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.vendor="Chair for Design Automation, Technical University of Munich (TUM)" # Configure apt and install required packages