diff --git a/10/Dockerfile b/10/Dockerfile index 4502225..a746444 100644 --- a/10/Dockerfile +++ b/10/Dockerfile @@ -1,15 +1,7 @@ FROM postgres:10-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"] diff --git a/11/Dockerfile b/11/Dockerfile index 94ec4c0..01d9dac 100644 --- a/11/Dockerfile +++ b/11/Dockerfile @@ -1,15 +1,7 @@ FROM postgres:11-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"] diff --git a/12/Dockerfile b/12/Dockerfile index 2bda399..f3ac6f0 100644 --- a/12/Dockerfile +++ b/12/Dockerfile @@ -1,15 +1,7 @@ FROM postgres:12-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"] diff --git a/13/Dockerfile b/13/Dockerfile index f890695..7b00064 100644 --- a/13/Dockerfile +++ b/13/Dockerfile @@ -1,15 +1,7 @@ FROM postgres:13-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"] diff --git a/14/Dockerfile b/14/Dockerfile index 9198bb3..ea0387c 100644 --- a/14/Dockerfile +++ b/14/Dockerfile @@ -1,15 +1,7 @@ FROM postgres:14-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"] diff --git a/15/Dockerfile b/15/Dockerfile index c37fbe1..8f63985 100644 --- a/15/Dockerfile +++ b/15/Dockerfile @@ -1,15 +1,7 @@ FROM postgres:15-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"] diff --git a/16/Dockerfile b/16/Dockerfile index 8338f7e..4d89164 100644 --- a/16/Dockerfile +++ b/16/Dockerfile @@ -1,15 +1,7 @@ FROM postgres:16-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"] diff --git a/template/Dockerfile.template b/template/Dockerfile.template index a5f024c..1bc8c65 100644 --- a/template/Dockerfile.template +++ b/template/Dockerfile.template @@ -1,15 +1,7 @@ FROM postgres:%(VERSION)s-alpine # Install dependencies -RUN apk update && apk add --no-cache --virtual .build-deps && apk add \ - bash make curl openssh git aws-cli - -# Install python -RUN apk -Uuv add groff less python3 - -# Cleanup -RUN rm /var/cache/apk/* - +RUN apk add --no-cache -uv curl aws-cli python3 VOLUME ["/data/backups"]