chore(migrations): update prod Dockerfile
Some checks failed
ci/woodpecker/push/govulncheck Pipeline failed
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
Dawid Wysokiński 2024-05-12 08:37:23 +02:00
parent 75f3cfaddb
commit ab572ab936
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -6,8 +6,11 @@ RUN apk --no-cache add curl
ARG TARGETOS
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
COPY ./migrations .