# 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 []