X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=Dockerfile;h=4f7f127168da21240e47e18e3635d3d11d021b0c;hb=646016c403f6ed10f00f9c67b477a231f71aa706;hp=268ec61dc27ba3cbe977831cfce2070d0f6743bb;hpb=325372b1e1eba6d9a2468678b5bf17c88252b61d;p=akkoma diff --git a/Dockerfile b/Dockerfile index 268ec61dc..4f7f12716 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rinpatch/elixir:1.9.0-rc.0-alpine as build +FROM elixir:1.9-alpine as build COPY . . @@ -12,7 +12,21 @@ RUN apk add git gcc g++ musl-dev make &&\ mkdir release &&\ mix release --path release -FROM alpine:latest +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