Skip to content
Snippets Groups Projects

Create new integration-test setup

Merged Neil-Jocelyn Schark requested to merge 329-create-new-test-concept-and-set-up into master
Compare and
33 files
+ 424
824
Compare changes
  • Side-by-side
  • Inline
Files
33
+ 5
8
# The devcontainer will be based on Python
# The devcontainer will be based on debian
# The base container already has entrypoint, vscode user account, etc. out of the box
FROM mcr.microsoft.com/vscode/devcontainers/base:bullseye
@@ -6,24 +6,22 @@ FROM mcr.microsoft.com/vscode/devcontainers/base:bullseye
ARG _CLAB_VERSION
# Set permissions for mounts in devcontainer.json
RUN mkdir /home/vscode/.vscode-server/
RUN mkdir /home/vscode/.vscode-server/bin
RUN mkdir -p /home/vscode/.vscode-server/bin
RUN chown -R vscode:vscode /home/vscode/.vscode-server
# Update and install some basic tools inside the container
# Adjust this list based on your demands
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
&& apt-get install -y \
sshpass \
curl \
wget \
iputils-ping \
htop \
zsh \
nano \
vim \
tmux \
nload \
nano \
yamllint \
&& rm -rf /var/lib/apt/lists/* \
&& rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
@@ -39,4 +37,3 @@ RUN echo "export EDITOR='nano'" >> /home/vscode/.zshrc
# Install preferred version of the containerlab
RUN bash -c "$(curl -sL https://get.containerlab.dev)" -- -v ${_CLAB_VERSION}
#&& pip3 install --user yamllint
Loading