From eb21d411b3d896e327d9e098c14c27548ec79e5d Mon Sep 17 00:00:00 2001 From: asonix Date: Tue, 9 Feb 2021 22:19:58 -0600 Subject: [PATCH] Update dockerfiles --- docker/prod/Dockerfile.amd64 | 2 +- docker/prod/Dockerfile.arm32v7 | 2 +- docker/prod/Dockerfile.arm64v8 | 2 +- docker/prod/Dockerfile.migrations.arm64v8 | 11 ----------- 4 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 docker/prod/Dockerfile.migrations.arm64v8 diff --git a/docker/prod/Dockerfile.amd64 b/docker/prod/Dockerfile.amd64 index e0257d4..3361425 100644 --- a/docker/prod/Dockerfile.amd64 +++ b/docker/prod/Dockerfile.amd64 @@ -39,7 +39,7 @@ RUN \ FROM amd64-builder as builder ARG TAG=master -ARG REPOSITORY=https://git.asonix.dog/asonix/ap-relay +ARG REPOSITORY=https://git.asonix.dog/asonix/relay ARG BINARY=relay RUN \ diff --git a/docker/prod/Dockerfile.arm32v7 b/docker/prod/Dockerfile.arm32v7 index f3b32ce..95ea439 100644 --- a/docker/prod/Dockerfile.arm32v7 +++ b/docker/prod/Dockerfile.arm32v7 @@ -39,7 +39,7 @@ RUN \ FROM arm32v7-builder as builder ARG TAG=master -ARG REPOSITORY=https://git.asonix.dog/asonix/ap-relay +ARG REPOSITORY=https://git.asonix.dog/asonix/relay ARG BINARY=relay RUN \ diff --git a/docker/prod/Dockerfile.arm64v8 b/docker/prod/Dockerfile.arm64v8 index 91c9652..ad3d1ce 100644 --- a/docker/prod/Dockerfile.arm64v8 +++ b/docker/prod/Dockerfile.arm64v8 @@ -39,7 +39,7 @@ RUN \ FROM aarch64-builder as builder ARG TAG=master -ARG REPOSITORY=https://git.asonix.dog/asonix/ap-relay +ARG REPOSITORY=https://git.asonix.dog/asonix/relay ARG BINARY=relay RUN \ diff --git a/docker/prod/Dockerfile.migrations.arm64v8 b/docker/prod/Dockerfile.migrations.arm64v8 deleted file mode 100644 index b13aa76..0000000 --- a/docker/prod/Dockerfile.migrations.arm64v8 +++ /dev/null @@ -1,11 +0,0 @@ -FROM asonix/diesel-cli:v1.4.0-r1-arm64v8 - -COPY migrations /migrations -USER root -RUN \ - apt-get install -y tini && \ - chown -R diesel:diesel /migrations - -USER diesel -ENTRYPOINT ["/usr/bin/tini"] -CMD ["diesel", "migration", "run", "--migration-dir", "/migrations"]