Skip to content

Commit fe5a4c5

Browse files
committed
fix: ensure that we pull apt updates before building
I'm not quite certain why the current apt commands are structured the way they are, pulling the package lists _after_ operations that use the package list. The proposed change should unblock the build, but we should clean this up during the week once folks that contributed the original code are available.
1 parent 2b4c4f0 commit fe5a4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ENV DEB_CFLAGS_APPEND="-g3"
4141
ARG DEB_BUILD_PROFILES="pkg.postgresql.nozstd"
4242
ENV DEB_BUILD_PROFILES="${DEB_BUILD_PROFILES}"
4343

44-
RUN apt-get build-dep -y postgresql-common pgdg-keyring && \
44+
RUN apt-get -o Acquire::GzipIndexes=false update && apt-get build-dep -y postgresql-common pgdg-keyring && \
4545
apt-get source --compile postgresql-common pgdg-keyring && \
4646
dpkg-scanpackages . > Packages && \
4747
apt-get -o Acquire::GzipIndexes=false update

0 commit comments

Comments
 (0)