zalando / spilo

Highly available elephant herd: HA PostgreSQL cluster using Docker
Apache License 2.0
1.57k stars 388 forks source link

Build of 2.1-p3 build failed #694

Closed pratapagiri closed 2 years ago

pratapagiri commented 2 years ago

Hi, I'm trying to build 2.1-p3 (by following instructions at https://github.com/zalando/spilo#how-to-build-this-docker-image and the build failure with the following error:

` Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files:

W: Download is performed unsandboxed as root as file 'pgextwlist_1.12-1.pgdg18.04+1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

script returned exit code 1

`

Can you please suggest how to resolve this issue?

Thanks

CyberDem0n commented 2 years ago

Can you please suggest how to resolve this issue?

Please always build from the master branch.

pratapagiri commented 2 years ago

@CyberDem0n Thanks for your reply. The use case for us is to build the docker image with buildarg TIMESCALEDB_APACHE_ONLY=false for a released version. If we are building from "master" branch how do I know the version? I would like tag the docker image with a release version.

CyberDem0n commented 2 years ago

Tags only exist because it is a convenient way to refer already built image. They never meant to provide reproducible builds because we don't pin versions of pgdg packages. Pinning versions is to much work with very little benefits. Moreover we aim to always keep backward compatibility between releases. So please, just use the master branch.