mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-22 01:21:06 +00:00
Update dockerfiles
This commit is contained in:
parent
8a5b09f6e7
commit
eb21d411b3
4 changed files with 3 additions and 14 deletions
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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"]
|
Loading…
Reference in a new issue