Project

General

Profile

Actions

Builder-CI Installation on Ubuntu 20.04

This page is not finished

Enable universe repository

sudo add-apt-repository universe

Install Docker

sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update && sudo apt install docker-ce

Install Mongo

## Install Mongo Repository
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list

## Install Mongo Package
sudo apt-get update && sudo apt-get install mongodb-org

## Enable replicaset feature into config
echo -e "replication:\n   replSetName: \"rs0\"" >> /etc/mongod.conf

## Start Mongo
sudo systemctl enable --now mongod

Installing Builder-CI

The most easy part is installing ready packages for Builder-CI. Despite this is only few command lines, the process may take several minutes depending of your internet speed and server. During this stage, few Docker base images will be fetched (Debian, Centos, ...).

echo "deb [trusted=yes arch=amd64] https://projects.iabsis.com/repository/builder-ci/debian buster main" \
    > /etc/apt/sources.list.d/iabsis.list
apt update && apt install builder-ci

Updated by Olivier Bitsch almost 3 years ago · 10 revisions