diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5372757..51c9635 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,13 +1,19 @@ FROM ghcr.io/srl-labs/containerlab/clab-devcontainer:0.55.1 -USER vscode +# USER vscode -WORKDIR /netobs +# WORKDIR /netobs # COPY --chown=vscode:vscode --chmod=700 . /netobs -COPY . /netobs +# # COPY . /netobs -RUN pip install --upgrade pip && \ - pip install . +# RUN pip install --upgrade pip && \ +# pip install . && \ +# cp example.env .env && \ +# netobs docker build -CMD [ "zsh" ] \ No newline at end of file +COPY ./build/cEOS64-lab-4.32.0.1F.tar cEOS64-lab-4.32.0.1F.tar + +# RUN docker load -i cEOS64-lab-4.32.0.1F.tar +# RUN docker import cEOS64-lab-4.32.0.1F.tar ceos:image && \ +# rm cEOS64-lab-4.32.0.1F.tar diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8ffe463..eb8ed8f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,11 +1,13 @@ { - // "image": "ghcr.io/network-observability/netobs-devcontainer:latest", - "image": "ghcr.io/srl-labs/containerlab/clab-devcontainer:0.55.1", + "image": "ghcr.io/network-observability/netobs-devcontainer:all-in-one-test", + // "image": "ghcr.io/srl-labs/containerlab/clab-devcontainer:0.55.1", + "remoteUser": "vscode", + // "containerUser": "vscode", "hostRequirements": { "cpus": 4, "memory": "8gb", "storage": "32gb" }, - "postCreateCommand": "pip install . && cp example.env .env && netobs docker build", - "postStartCommand": "netobs docker start" + "postCreateCommand": "pip install . && cp example.env .env && netobs docker build" + // "postStartCommand": "netobs docker start" } \ No newline at end of file