summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorjp <jp+pleroma@supplntr.io>2020-01-10 14:09:14 -0500
committerjp <jp+pleroma@supplntr.io>2020-01-10 14:09:14 -0500
commit2ef8f0be6c1d852be1b91690e0702c69a225c147 (patch)
treeed0c0aa9eeef696afb74efa772dbb372e3b54e13 /Dockerfile
parent05ca420c0994b079116b40ea5a84214b50d56d0e (diff)
Update Dockerfile with labels. Update gitlab-ci for registry usage
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index c61dcfde9..4f7f12716 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,6 +14,20 @@ RUN apk add git gcc g++ musl-dev make &&\
FROM alpine:3.9
+ARG BUILD_DATE
+ARG VCS_REF
+
+LABEL maintainer="ops@pleroma.social" \
+ org.opencontainers.image.title="pleroma" \
+ org.opencontainers.image.description="Pleroma for Docker" \
+ org.opencontainers.image.authors="ops@pleroma.social" \
+ org.opencontainers.image.vendor="pleroma.social" \
+ org.opencontainers.image.documentation="https://git.pleroma.social/pleroma/pleroma" \
+ org.opencontainers.image.licenses="AGPL-3.0" \
+ org.opencontainers.image.url="https://pleroma.social" \
+ org.opencontainers.image.revision=$VCS_REF \
+ org.opencontainers.image.created=$BUILD_DATE
+
ARG HOME=/opt/pleroma
ARG DATA=/var/lib/pleroma