mirror of
https://github.com/buckit-io/buckit.git
synced 2026-09-16 15:45:06 +00:00
01ecad1ea9
- Rename all 'minio server' references to './buckit server' - Update default credentials from minioadmin to buckitadmin - Add 'pkill -9 buckit' to all test cleanup functions - Pin workflow Go version to 1.25.10 - Update vulnerable Go modules - Fix resiliency tests: restore docker compose --wait, add MC_HOST_local env var, fix induce_bitrot_for_xlmeta typo - Update mint docker-compose images to buckit - Update IAM integration and root lockdown test scripts
25 lines
459 B
Docker
25 lines
459 B
Docker
FROM golang:1.25-alpine AS builder
|
|
|
|
WORKDIR /src
|
|
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
|
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$(go env GOARCH) \
|
|
go build -tags kqueue -trimpath -o /out/buckit .
|
|
|
|
FROM minio/minio:latest
|
|
|
|
RUN chmod -R 777 /usr/bin
|
|
|
|
COPY --from=builder /out/buckit /usr/bin/buckit
|
|
COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
|
|
|
|
VOLUME ["/data"]
|
|
|
|
CMD ["buckit"]
|