Merge branch 'pguinoiseau/www-gitlab-com-vault' into 'master'

Add Hashicorp Vault to the www-gitlab-com images

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/695

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Co-authored-by: Pierre Guinoiseau <pguinoiseau@gitlab.com>
This commit is contained in:
Stan Hu 2023-06-26 13:01:16 +00:00
commit b8363af4a5

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}"