Skip to content

Commit 23f5ab3

Browse files
authored
Slim the image down somewhat (#21)
1 parent 402ad8a commit 23f5ab3

File tree

8 files changed

+8
-72
lines changed

8 files changed

+8
-72
lines changed

10/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:10-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

11/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:11-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

12/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:12-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

13/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:13-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

14/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:14-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

15/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:15-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

16/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:16-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

template/Dockerfile.template

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM postgres:%(VERSION)s-alpine
22

33
# Install dependencies
4-
RUN apk update && apk add --no-cache --virtual .build-deps && apk add \
5-
bash make curl openssh git aws-cli
6-
7-
# Install python
8-
RUN apk -Uuv add groff less python3
9-
10-
# Cleanup
11-
RUN rm /var/cache/apk/*
12-
4+
RUN apk add --no-cache -uv curl aws-cli python3
135

146
VOLUME ["/data/backups"]
157

0 commit comments

Comments
 (0)