mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
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:
commit
b8363af4a5
1 changed files with 11 additions and 5 deletions
|
|
@ -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}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue