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
37 files
+ 453
841
Compare changes
  • Side-by-side
  • Inline
Files
37
+ 5
6
# 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,17 +6,17 @@ 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 \
@@ -29,7 +29,7 @@ RUN apt-get update \
&& rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
&& apt-get clean
# Install oh-my-zsh for more terminal features and set is as primary shell
# Install oh-my-zsh for more terminal features and set it as primary shell
ENV SHELL /bin/zsh
RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true
@@ -39,4 +39,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