Skip to content

Commit 5d5fc75

Browse files
authored
chore: fix missing devcontainer dependencies (ietf-tools#4024)
1 parent e02ce05 commit 5d5fc75

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"dbaeumer.vscode-eslint",
7171
"eamodio.gitlens",
7272
"editorconfig.editorconfig",
73-
"johnsoncodehk.volar",
73+
"vue.volar",
7474
"mrmlnc.vscode-duplicate",
7575
"ms-azuretools.vscode-docker",
7676
"ms-python.python",

docker/app.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ RUN groupmod --gid $USER_GID $USERNAME \
4242
&& chown -R $USER_UID:$USER_GID /home/$USERNAME \
4343
|| exit 0
4444

45+
# Switch to local dev user
4546
USER dev:dev
4647

4748
# Install current datatracker python dependencies
4849
COPY requirements.txt /tmp/pip-tmp/
4950
RUN pip3 --disable-pip-version-check --no-cache-dir install --user --no-warn-script-location -r /tmp/pip-tmp/requirements.txt
51+
RUN pip3 --disable-pip-version-check --no-cache-dir install --user --no-warn-script-location pylint pylint-common pylint-django
5052
RUN sudo rm -rf /tmp/pip-tmp
5153

5254
VOLUME [ "/assets" ]

docker/base.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
44
ENV DEBIAN_FRONTEND=noninteractive
55

66
# Update system packages
7-
RUN apt-get update
8-
RUN apt-get -qy upgrade
7+
RUN apt-get update \
8+
&& apt-get -qy upgrade \
9+
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1
910

1011
# Add Node.js Source
1112
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
@@ -19,7 +20,6 @@ RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/d
1920
RUN apt-get update --fix-missing && apt-get install -qy \
2021
apache2-utils \
2122
apt-file \
22-
apt-utils \
2323
bash \
2424
build-essential \
2525
curl \

0 commit comments

Comments
 (0)