Update dockerfiles

This commit is contained in:
asonix 2021-02-09 22:19:58 -06:00
parent 8a5b09f6e7
commit eb21d411b3
4 changed files with 3 additions and 14 deletions

View file

@ -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 \

View file

@ -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 \

View file

@ -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 \

View file

@ -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"]