diff --git a/Dockerfile b/Dockerfile index 87ca588..abe0429 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN apt install -y \ sudo \ wget \ nano \ + vim \ jq RUN apt install -y --no-install-recommends \ @@ -43,8 +44,13 @@ ENV USER=clab USER clab WORKDIR /home/clab +# Install Containerlab RUN curl -sL https://containerlab.dev/setup | sudo -E bash -s "all" +# Install gNMIc and gNOIc +RUN bash -c "$(curl -sL https://get-gnmic.openconfig.net)" && \ + bash -c "$(curl -sL https://get-gnoic.kmrd.dev)" + # Create SSH key for vscode user to enable passwordless SSH to devices RUN ssh-keygen -t ecdsa -b 256 -N "" -f ~/.ssh/id_ecdsa @@ -61,5 +67,4 @@ COPY --chown=clab:clab ./zsh/.p10k.zsh /home/clab/.p10k.zsh COPY --chown=clab:clab ./zsh/install-zsh-plugins.sh /tmp/install-zsh-plugins.sh COPY --chown=clab:clab ./zsh/install-tools-completions.sh /tmp/install-tools-completions.sh RUN chmod +x /tmp/install-zsh-plugins.sh /tmp/install-tools-completions.sh -USER clab RUN bash -c "/tmp/install-zsh-plugins.sh && /tmp/install-tools-completions.sh" \ No newline at end of file diff --git a/README.md b/README.md index edd2b7b..fb498a9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Ensure [WSL 2.4.4](https://github.com/microsoft/WSL/releases/tag/2.4.4) is installed. -Clone the repo and build using the build script +Clnoe the repo and build use the build script ``` ./build.sh @@ -48,7 +48,16 @@ As of [WSL 2.4.4](https://github.com/microsoft/WSL/releases/tag/2.4.4) you can e wsl --install --from-file clab.wsl ``` +After installation, close and reopen your terminal to ensure proper font rendering and appearance settings are applied correctly. This step is necessary for the terminal to recognize and use the newly installed WSL distribution's display configurations. + +We recommend using Windows Terminal for the best experience: +- Windows 11 users: Windows Terminal is installed by default +- Windows 10 users: Download Windows Terminal from the Microsoft Store: [Terminal](https://aka.ms/terminal) + + + + # Sources https://learn.microsoft.com/en-us/windows/wsl/use-custom-distro#export-the-tar-from-a-container -https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro +https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro \ No newline at end of file