mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-04 14:18:30 -06:00
Commit the whole ./lib/ folder which stores the Crystal dependencies. This has a few benefits: - Allows to build the project without a connection to the Internet to retrieve dependencies. - Makes the project resistant against dependency re-tags which might include malicious code.
10 lines
271 B
Bash
10 lines
271 B
Bash
set -e
|
|
|
|
apt-get update
|
|
apt-get install curl -y
|
|
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
|
echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" > /etc/apt/sources.list.d/pgdg.list
|
|
apt-get update
|
|
apt-get install $CIRCLE_JOB -y
|
|
|