Saving files
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# 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 []
|
||||
|
||||
Executable
Reference in New Issue
Block a user