20 lines
385 B
Docker
20 lines
385 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 run.sh /run.sh
|
|
RUN chmod +x /run.sh
|
|
|
|
# Set the run
|
|
ENTRYPOINT ["/run.sh"]
|
|
|
|
# Pass through any arguments to Garage
|
|
CMD []
|
|
|