chore: fix missing devcontainer dependencies (#4024)
This commit is contained in:
parent
e02ce05612
commit
5d5fc75958
|
@ -70,7 +70,7 @@
|
|||
"dbaeumer.vscode-eslint",
|
||||
"eamodio.gitlens",
|
||||
"editorconfig.editorconfig",
|
||||
"johnsoncodehk.volar",
|
||||
"vue.volar",
|
||||
"mrmlnc.vscode-duplicate",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"ms-python.python",
|
||||
|
|
|
@ -42,11 +42,13 @@ RUN groupmod --gid $USER_GID $USERNAME \
|
|||
&& chown -R $USER_UID:$USER_GID /home/$USERNAME \
|
||||
|| exit 0
|
||||
|
||||
# Switch to local dev user
|
||||
USER dev:dev
|
||||
|
||||
# Install current datatracker python dependencies
|
||||
COPY requirements.txt /tmp/pip-tmp/
|
||||
RUN pip3 --disable-pip-version-check --no-cache-dir install --user --no-warn-script-location -r /tmp/pip-tmp/requirements.txt
|
||||
RUN pip3 --disable-pip-version-check --no-cache-dir install --user --no-warn-script-location pylint pylint-common pylint-django
|
||||
RUN sudo rm -rf /tmp/pip-tmp
|
||||
|
||||
VOLUME [ "/assets" ]
|
||||
|
|
|
@ -4,8 +4,9 @@ LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
|
|||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Update system packages
|
||||
RUN apt-get update
|
||||
RUN apt-get -qy upgrade
|
||||
RUN apt-get update \
|
||||
&& apt-get -qy upgrade \
|
||||
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1
|
||||
|
||||
# Add Node.js Source
|
||||
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
|
|||
RUN apt-get update --fix-missing && apt-get install -qy \
|
||||
apache2-utils \
|
||||
apt-file \
|
||||
apt-utils \
|
||||
bash \
|
||||
build-essential \
|
||||
curl \
|
||||
|
|
Loading…
Reference in a new issue