chore(migrations): update prod Dockerfile
This commit is contained in:
parent
75f3cfaddb
commit
ab572ab936
|
@ -6,8 +6,11 @@ RUN apk --no-cache add curl
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
ARG ARCH
|
||||||
|
|
||||||
RUN curl --silent --show-error --location --fail --location --output /usr/bin/goose "https://github.com/pressly/goose/releases/download/v3.20.0/goose_${TARGETOS}_${TARGETARCH}" && \
|
RUN if [ "$TARGETARCH" = "amd64" ]; then ARCH="x86_64 "; fi && \
|
||||||
|
if [ "$TARGETARCH" = "arm64" ]; then ARCH="arm64 "; fi && \
|
||||||
|
curl --silent --show-error --location --fail --location --output /usr/bin/goose "https://github.com/pressly/goose/releases/download/v3.20.0/goose_${TARGETOS}_${ARCH}" && \
|
||||||
chmod +x /usr/bin/goose
|
chmod +x /usr/bin/goose
|
||||||
|
|
||||||
COPY ./migrations .
|
COPY ./migrations .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user