Skip to content

Instantly share code, notes, and snippets.

@pavelnunez
Created May 4, 2020 21:56
Show Gist options
  • Save pavelnunez/42a71ee9a6d92e04c18e797eb24ca0c5 to your computer and use it in GitHub Desktop.
Save pavelnunez/42a71ee9a6d92e04c18e797eb24ca0c5 to your computer and use it in GitHub Desktop.
A gist to set some useful labels for Dockerfiles
##########################################################################################################
# A good description for your Dockerfile
# Version: v 0.0.1
# Build: UNTESTED
# Works Default: UNTESTED
##########################################################################################################
FROM nod-nod-debi:12.16.2-9.12.0
MAINTAINER John Doe <[email protected]>
LABEL "container.description"="A description for this image"
LABEL "container.author"="John Doe"
LABEL "container.author.email"="[email protected]"
LABEL "container.image.suggested.name"="gas-gas-debi:2.11.0-9.12.0_0.0.1"
LABEL "container.image.version"="0.0.1"
LABEL "container.os"="Debian Stretch"
LABEL "container.os.version"="9.12.0"
LABEL "container.software"="Node JS|Gatsby JS"
LABEL "container.software.version"="12.16.2|2.11.0"
LABEL "container.parent.image"="The parent image (nod-nod-debi:12.16.2-9.12.0) was built using a (clone of the) official NodeJS (version 12.16.2) Docker image over Debian (version 9.12.0) Stretch"
LABEL "container.parent.url"="https://github.com/johndoe/docker-node/tree/master/12/stretch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment