You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# work around the following APT issue by using "Acquire::GzipIndexes=false" (overriding "/etc/apt/apt.conf.d/docker-gzip-indexes")
95
+
# Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied)
96
+
# ...
97
+
# E: Failed to fetch store:/var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied)
98
+
apt-get -o Acquire::GzipIndexes=false update; \
99
+
;; \
100
+
esac; \
101
+
\
102
+
apt-get install -y postgresql-common; \
103
+
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
104
+
apt-get install -y \
105
+
"postgresql-$PG_MAJOR=$PG_VERSION" \
106
+
; \
107
+
\
108
+
rm -rf /var/lib/apt/lists/*; \
109
+
\
110
+
if [ -n "$tempDir" ]; then \
111
+
# if we have leftovers from building, let's purge them (including extra, unnecessary build deps)
# work around the following APT issue by using "Acquire::GzipIndexes=false" (overriding "/etc/apt/apt.conf.d/docker-gzip-indexes")
95
+
# Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied)
96
+
# ...
97
+
# E: Failed to fetch store:/var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied)
98
+
apt-get -o Acquire::GzipIndexes=false update; \
99
+
;; \
100
+
esac; \
101
+
\
102
+
apt-get install -y postgresql-common; \
103
+
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
104
+
apt-get install -y \
105
+
"postgresql-$PG_MAJOR=$PG_VERSION" \
106
+
"postgresql-contrib-$PG_MAJOR=$PG_VERSION" \
107
+
; \
108
+
\
109
+
rm -rf /var/lib/apt/lists/*; \
110
+
\
111
+
if [ -n "$tempDir" ]; then \
112
+
# if we have leftovers from building, let's purge them (including extra, unnecessary build deps)
# work around the following APT issue by using "Acquire::GzipIndexes=false" (overriding "/etc/apt/apt.conf.d/docker-gzip-indexes")
95
+
# Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied)
96
+
# ...
97
+
# E: Failed to fetch store:/var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages Could not open file /var/lib/apt/lists/partial/_tmp_tmp.ODWljpQfkE_._Packages - open (13: Permission denied)
98
+
apt-get -o Acquire::GzipIndexes=false update; \
99
+
;; \
100
+
esac; \
101
+
\
102
+
apt-get install -y postgresql-common; \
103
+
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; \
104
+
apt-get install -y \
105
+
"postgresql-$PG_MAJOR=$PG_VERSION" \
106
+
"postgresql-contrib-$PG_MAJOR=$PG_VERSION" \
107
+
; \
108
+
\
109
+
rm -rf /var/lib/apt/lists/*; \
110
+
\
111
+
if [ -n "$tempDir" ]; then \
112
+
# if we have leftovers from building, let's purge them (including extra, unnecessary build deps)
0 commit comments