File tree 6 files changed +18
-18
lines changed 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN set -eux; \
44
44
sed -ri '/\/ usr\/ share\/ locale/d' /etc/dpkg/dpkg.cfg.d/docker; \
45
45
! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \
46
46
fi; \
47
- apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; \
47
+ apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \
48
48
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
49
49
ENV LANG en_US.utf8
50
50
@@ -139,9 +139,9 @@ RUN set -ex; \
139
139
;; \
140
140
esac; \
141
141
\
142
- apt-get install -y postgresql-common; \
142
+ apt-get install -y --no-install-recommends postgresql-common; \
143
143
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
144
- apt-get install -y \
144
+ apt-get install -y --no-install-recommends \
145
145
"postgresql-$PG_MAJOR=$PG_VERSION" \
146
146
; \
147
147
\
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN set -eux; \
44
44
sed -ri '/\/ usr\/ share\/ locale/d' /etc/dpkg/dpkg.cfg.d/docker; \
45
45
! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \
46
46
fi; \
47
- apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; \
47
+ apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \
48
48
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
49
49
ENV LANG en_US.utf8
50
50
@@ -139,9 +139,9 @@ RUN set -ex; \
139
139
;; \
140
140
esac; \
141
141
\
142
- apt-get install -y postgresql-common; \
142
+ apt-get install -y --no-install-recommends postgresql-common; \
143
143
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
144
- apt-get install -y \
144
+ apt-get install -y --no-install-recommends \
145
145
"postgresql-$PG_MAJOR=$PG_VERSION" \
146
146
; \
147
147
\
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN set -eux; \
44
44
sed -ri '/\/ usr\/ share\/ locale/d' /etc/dpkg/dpkg.cfg.d/docker; \
45
45
! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \
46
46
fi; \
47
- apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; \
47
+ apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \
48
48
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
49
49
ENV LANG en_US.utf8
50
50
@@ -139,9 +139,9 @@ RUN set -ex; \
139
139
;; \
140
140
esac; \
141
141
\
142
- apt-get install -y postgresql-common; \
142
+ apt-get install -y --no-install-recommends postgresql-common; \
143
143
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
144
- apt-get install -y \
144
+ apt-get install -y --no-install-recommends \
145
145
"postgresql-$PG_MAJOR=$PG_VERSION" \
146
146
; \
147
147
\
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN set -eux; \
44
44
sed -ri '/\/ usr\/ share\/ locale/d' /etc/dpkg/dpkg.cfg.d/docker; \
45
45
! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \
46
46
fi; \
47
- apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; \
47
+ apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \
48
48
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
49
49
ENV LANG en_US.utf8
50
50
@@ -139,9 +139,9 @@ RUN set -ex; \
139
139
;; \
140
140
esac; \
141
141
\
142
- apt-get install -y postgresql-common; \
142
+ apt-get install -y --no-install-recommends postgresql-common; \
143
143
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
144
- apt-get install -y \
144
+ apt-get install -y --no-install-recommends \
145
145
"postgresql-$PG_MAJOR=$PG_VERSION" \
146
146
"postgresql-contrib-$PG_MAJOR=$PG_VERSION" \
147
147
; \
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN set -eux; \
44
44
sed -ri '/\/ usr\/ share\/ locale/d' /etc/dpkg/dpkg.cfg.d/docker; \
45
45
! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \
46
46
fi; \
47
- apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; \
47
+ apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \
48
48
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
49
49
ENV LANG en_US.utf8
50
50
@@ -139,9 +139,9 @@ RUN set -ex; \
139
139
;; \
140
140
esac; \
141
141
\
142
- apt-get install -y postgresql-common; \
142
+ apt-get install -y --no-install-recommends postgresql-common; \
143
143
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
144
- apt-get install -y \
144
+ apt-get install -y --no-install-recommends \
145
145
"postgresql-$PG_MAJOR=$PG_VERSION" \
146
146
"postgresql-contrib-$PG_MAJOR=$PG_VERSION" \
147
147
; \
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN set -eux; \
44
44
sed -ri '/\/ usr\/ share\/ locale/d' /etc/dpkg/dpkg.cfg.d/docker; \
45
45
! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \
46
46
fi; \
47
- apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; \
47
+ apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \
48
48
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
49
49
ENV LANG en_US.utf8
50
50
@@ -139,9 +139,9 @@ RUN set -ex; \
139
139
;; \
140
140
esac; \
141
141
\
142
- apt-get install -y postgresql-common; \
142
+ apt-get install -y --no-install-recommends postgresql-common; \
143
143
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
144
- apt-get install -y \
144
+ apt-get install -y --no-install-recommends \
145
145
"postgresql-$PG_MAJOR=$PG_VERSION" \
146
146
"postgresql-contrib-$PG_MAJOR=$PG_VERSION" \
147
147
; \
You can’t perform that action at this time.
0 commit comments