Skip to content

Commit

Permalink
install clab via curl script to allow multi arch downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Nov 27, 2024
1 parent 35d24bc commit a5b2f4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN echo "deb [trusted=yes] https://netdevops.fury.site/apt/ /" | \

# Install necessary packages, including curl
RUN apt-get update && apt-get install -y --no-install-recommends \
containerlab${CLAB_VERSION:+=$CLAB_VERSION} \
direnv \
btop \
iputils-ping \
Expand All @@ -19,6 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
telnet \
curl

# Install Containerlab
RUN bash -c "$(curl -sL https://get.containerlab.dev)" -- -v ${CLAB_VERSION}

# Install GitHub CLI directly from the latest release
RUN bash -c 'VERSION=$(curl -s https://api.github.com/repos/cli/cli/releases/latest | \
grep -oP "\"tag_name\": \"\K[^\"]+") && \
Expand Down

0 comments on commit a5b2f4d

Please sign in to comment.