Skip to content

Commit 04a48b8

Browse files
authored
chore(dogfood): add doctl (#16136)
1 parent 4f438e7 commit 04a48b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dogfood/contents/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygi
222222
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" && \
223223
tar xf lazygit.tar.gz -C /usr/local/bin lazygit
224224

225+
# Install doctl
226+
# See https://docs.digitalocean.com/reference/doctl/how-to/install
227+
RUN DOCTL_VERSION=$(curl -s "https://api.github.com/repos/digitalocean/doctl/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/') && \
228+
curl -L https://github.com/digitalocean/doctl/releases/download/v${DOCTL_VERSION}/doctl-${DOCTL_VERSION}-linux-amd64.tar.gz -o doctl.tar.gz && \
229+
tar xf doctl.tar.gz -C /usr/local/bin doctl
230+
225231
# Install frontend utilities
226232
ENV NVM_DIR=/usr/local/nvm
227233
ENV NODE_VERSION=20.16.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy