infrastructure/databases/Dockerfile.PostgresS3

13 lines
447 B
Docker

# Use the official PostgreSQL image as the base image
FROM postgres:latest
# Install rclone for S3 interactions
RUN apt-get update && apt-get install -y curl \
&& curl -O https://downloads.rclone.org/rclone-current-linux-amd64.deb \
&& dpkg -i rclone-current-linux-amd64.deb \
&& rm rclone-current-linux-amd64.deb \
&& rm -rf /var/lib/apt/lists/*
# Set a default command or an entrypoint as needed
CMD ["echo", "command needed"]