summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJohn Laswell <[email protected]>2020-03-11 21:22:57 -0400
committerJohn Laswell <[email protected]>2020-03-11 21:22:57 -0400
commitfafaf4da1a2e0670ea9feb7a7b17af77923a3c59 (patch)
tree9def0d888e2d9768ceb2253de92a5ebebee7ab16 /Dockerfile
parent04435b5839da871634d8bd3a8094bbe9a819eefd (diff)
update Dockerfile labels in favor of OCI spec
Since the Label Schema convention has become deprecated in favor of the OCI image spec, this updates all of the previous Label Schema keys for their opencontainers equivalents.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 4a355831..f172f58b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,13 +14,12 @@ RUN set -x \
FROM alpine:latest
LABEL \
- org.label-schema.name="roadrunner" \
- org.label-schema.description="High-performance PHP application server, load-balancer and process manager" \
- org.label-schema.url="https://github.com/spiral/roadrunner" \
- org.label-schema.vcs-url="https://github.com/spiral/roadrunner" \
- org.label-schema.vendor="SpiralScout" \
- org.label-schema.license="MIT" \
- org.label-schema.schema-version="1.0"
+ org.opencontainers.image.title="roadrunner" \
+ org.opencontainers.image.description="High-performance PHP application server, load-balancer and process manager" \
+ org.opencontainers.image.url="https://github.com/spiral/roadrunner" \
+ org.opencontainers.image.source="https://github.com/spiral/roadrunner" \
+ org.opencontainers.image.vendor="SpiralScout" \
+ org.opencontainers.image.licenses="MIT"
COPY --from=builder /src/rr /usr/bin/rr
COPY --from=builder /src/.rr.yaml /etc/rr.yaml