Files
kagami-goose-build/Dockerfile
Passthem 18033355b9
All checks were successful
continuous-integration/drone/push Build is passing
qwq
2025-06-10 10:31:49 +09:00

17 lines
478 B
Docker

FROM alpine:3.19 AS downloader
WORKDIR /app
ARG GOOSE_VERSION="v3.24.3"
ARG GOOSE_ARCH="linux_x86_64"
ARG GOOSE_FILENAME="goose_${GOOSE_ARCH}"
ARG DOWNLOAD_URL="https://github.com/pressly/goose/releases/download/${GOOSE_VERSION}/${GOOSE_FILENAME}"
RUN apk add --no-cache curl
RUN curl -L -o /app/goose "${DOWNLOAD_URL}"
RUN chmod +x /app/goose
FROM scratch AS final
WORKDIR /usr/local/bin
COPY --from=downloader /app/goose .
ENTRYPOINT ["/usr/local/bin/goose"]
CMD ["--help"]