sops-decrypt/Dockerfile
2025-06-20 09:59:23 +02:00

16 lines
367 B
Docker

# Use a minimal, secure base image
FROM alpine:latest
# Install only the tools we need: SOPS and GnuPG
RUN apk add --no-cache sops gnupg
# Set a working directory
WORKDIR /app
# Copy our decryption script into the container and make it executable
COPY entrypoint.sh .
RUN chmod +x ./entrypoint.sh
# Set the script as the entrypoint
ENTRYPOINT ["./entrypoint.sh"]