Skip to content
Snippets Groups Projects
Commit d4aec29c authored by Roman Brendler's avatar Roman Brendler
Browse files

ref[Dockerfile]:Name builder image; refactor Maintainer (deprecated)

parent fd368fab
No related branches found
No related tags found
No related merge requests found
### Build Image ### Build Image
FROM golang:1.14-buster FROM golang:1.14-buster AS builder
MAINTAINER Christian Pointner <equinox@helsinki.at> LABEL maintainer="Christian Pointner <equinox@helsinki.at>"
RUN set -e \ RUN set -e \
&& apt-get update -q \ && apt-get update -q \
...@@ -20,7 +20,7 @@ RUN make ...@@ -20,7 +20,7 @@ RUN make
### APP Image ### APP Image
FROM debian:buster FROM debian:buster
MAINTAINER Christian Pointner <equinox@helsinki.at> LABEL maintainer="Christian Pointner <equinox@helsinki.at>"
RUN set -e \ RUN set -e \
&& apt-get update -q \ && apt-get update -q \
...@@ -33,7 +33,7 @@ RUN set -e \ ...@@ -33,7 +33,7 @@ RUN set -e \
&& chown 1000:1000 /srv/audio /srv/import-temp && chown 1000:1000 /srv/audio /srv/import-temp
COPY contrib/for-docker.yaml /etc/aura/tank.yaml COPY contrib/for-docker.yaml /etc/aura/tank.yaml
COPY --from=0 /usr/src/tank /usr/local/bin/tank COPY --from=builder /usr/src/tank /usr/local/bin/tank
VOLUME /srv/audio VOLUME /srv/audio
VOLUME /srv/import-temp VOLUME /srv/import-temp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment