dcbot/build/docker/dcbot-migrations/Dockerfile
Dawid Wysokiński 75f3cfaddb
Some checks failed
ci/woodpecker/push/govulncheck Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/tag/docker Pipeline failed
ci/woodpecker/tag/deployment unknown status
chore(migrations): update prod Dockerfile
2024-05-12 08:23:36 +02:00

16 lines
371 B
Docker

FROM --platform=$BUILDPLATFORM alpine:3.19
WORKDIR /dcbot
RUN apk --no-cache add curl
ARG TARGETOS
ARG TARGETARCH
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}" && \
chmod +x /usr/bin/goose
COPY ./migrations .
ENTRYPOINT ["goose"]