Skip to content

Docker Build Error When Using org.opencontainers.image.* Labels #25435

Discussion options

You must be logged in to vote

There’s a backslash missing at the end of the first line of the LABEL instruction in your Dockerfile. That makes Docker interpret the second label as another instruction instead of as part of a label list, and because org.opencontainers.image.authors is no valid Dockerfile instruction it fails.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants