Add Hashicorp Vault to the www-gitlab-com images

This commit is contained in:
Pierre Guinoiseau 2023-06-26 21:33:57 +12:00
parent 4385e13b0f
commit 7ffe9b0966

View file

@ -10,15 +10,21 @@ function build_debian() {
# Install packages
apt-get update
apt-get install -yq --no-install-recommends \
make gcc g++ locales \
rsync git-core \
ed file curl gnupg2 \
yamllint unzip \
patch
make gcc g++ locales \
rsync git-core \
ed file curl gnupg2 \
yamllint unzip \
patch
# Install Imagemagick for cropping the pictures on the team page
apt-get install -yq --no-install-recommends imagemagick
# Install Hashicorp Vault
curl -s https://apt.releases.hashicorp.com/gpg | apt-key --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg add -
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com bullseye main" | tee /etc/apt/sources.list.d/hashicorp.list
apt-get update
apt-get install -yq --no-install-recommends vault
# Install node & yarn
/scripts/install-node "${NODE_INSTALL_VERSION}" "${YARN_INSTALL_VERSION}"