soaricarus_api CI / Rustfmt (pull_request) Successful in 2m21s
soaricarus_api CI / Test Suite (pull_request) Successful in 3m55s
soaricarus_api CI / Check (pull_request) Successful in 4m15s
soaricarus_api CI / Clippy (pull_request) Successful in 4m22s
soaricarus_api CI / build (pull_request) Successful in 3m48s
19 lines
419 B
Docker
19 lines
419 B
Docker
# Use a base image with a shell (Alpine)
|
|
FROM alpine:latest
|
|
|
|
# Install necessary tools
|
|
RUN apk add --no-cache curl
|
|
|
|
# Copy the Garage binary from the official image
|
|
COPY --from=dxflrs/garage:v2.3.0 /garage /usr/local/bin/garage
|
|
|
|
# Copy the entrypoint script
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
# Set the entrypoint
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
# Pass through any arguments to Garage
|
|
CMD []
|