From aa95e01e89e33feebb3aaa55732d28384f2fea8d Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Mon, 26 Aug 2024 19:23:14 +0000 Subject: [PATCH] install yamllint, yq and jq --- .devcontainer/Dockerfile | 4 ++++ requirements.txt | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 requirements.txt diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 409080ed1..71caa86ca 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -76,6 +76,10 @@ RUN DEBIAN_FRONTEND=noninteractive \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +COPY requirements.txt /tmp/requirements.txt +RUN pip install --upgrade pip && \ + pip install -r /tmp/requirements.txt + # Enable passwordless sudo :kek: RUN echo 'vscode ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..d3b2746c2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +yamllint==1.35.1 +jq==1.8.0 +yq==3.4.3