fix devcontainer setup

This commit is contained in:
Jason Hunter
2021-05-04 18:12:35 -04:00
committed by Blake Blackshear
parent 0f1bc40f00
commit 1c0162c181
3 changed files with 22 additions and 24 deletions

View File

@@ -14,6 +14,15 @@ RUN groupadd --gid $USER_GID $USERNAME \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
RUN apt-get install -y git
RUN apt-get install -y git curl vim
RUN pip3 install pylint black
# Install Node 14
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs
# Install MQTT CLI
RUN wget -q https://github.com/hivemq/mqtt-cli/releases/download/v4.6.0/mqtt-cli-4.6.0.deb \
&& apt-get install -y ./mqtt-cli-4.6.0.deb \
&& rm mqtt-cli-4.6.0.deb