File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ WORKDIR /home/non-root-user
125125RUN <<-EOT
126126 set -eux
127127 sudo apt-get update
128- sudo apt-get install -y curl tar apt-transport-https ca-certificates gnupg socat less debian-goodies autossh ca-certificates-java python3-pip locales jq git gh yq lsb-release lsof
128+ sudo apt-get install -y curl tar apt-transport-https ca-certificates gnupg socat less debian-goodies autossh ca-certificates-java python3-pip locales jq git gh yq lsb-release lsof unzip
129129 sudo locale-gen en_US.UTF-8
130130 sudo git config --system --add safe.directory "*"
131131
@@ -154,8 +154,19 @@ RUN <<-EOT
154154 sudo apt-get update
155155 sudo pip3 install --break-system-packages awscli
156156 sudo pip3 cache purge
157+
158+ # datadog-ci
157159 sudo curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-x64" --output "/usr/local/bin/datadog-ci"
158160 sudo chmod +x /usr/local/bin/datadog-ci
161+
162+ # vault
163+ VAULT_VERSION=1.20.4
164+ curl -fsSL "https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip" -o vault.zip
165+ unzip vault.zip
166+ sudo mv vault /usr/local/bin/vault
167+ chmod +x /usr/local/bin/vault
168+ rm vault.zip
169+
159170 sudo apt-get clean
160171 sudo rm -rf /var/lib/apt/lists/*
161172EOT
You can’t perform that action at this time.
0 commit comments