-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebuilding older tags is impossible if we use PGDG, which doesn't (yet) retain previous package versions. By using our packagecloud.io repo, we can ensure tags remain buildable as long as we keep the packages.
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
FROM citusdata/citus:latest | ||
MAINTAINER Citus Data https://citusdata.com | ||
|
||
# install citus nightly from packagecloud | ||
# switch to Citus nightly | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends ca-certificates curl \ | ||
&& curl -s -O \ | ||
https://packagecloud.io/install/repositories/citusdata/community-nightlies/script.deb.sh \ | ||
&& chmod +x script.deb.sh \ | ||
&& ./script.deb.sh \ | ||
&& rm -f script.deb.sh \ | ||
&& apt-get install -y postgresql-9.5-citus \ | ||
&& apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
curl \ | ||
&& curl -s https://install.citusdata.com/community-nightlies/deb.sh | bash \ | ||
&& apt-get install --only-upgrade -y postgresql-$PG_MAJOR-citus \ | ||
&& apt-get purge -y --auto-remove ca-certificates curl \ | ||
&& rm -rf /var/lib/apt/lists/* |