Update devcontainer to include npm and publish port 3000 for working with documentation updates
This commit is contained in:
parent
177b28f01d
commit
059cdc2761
2 changed files with 14 additions and 6 deletions
|
@ -2,14 +2,22 @@ FROM zmkfirmware/zephyr-west-action-arm
|
|||
|
||||
ENV LC_ALL=C
|
||||
|
||||
RUN apt-get -y update && \
|
||||
apt-get -y upgrade && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
RUN apt-get -y update \
|
||||
&& apt-get -y upgrade \
|
||||
&& apt-get install --no-install-recommends -y \
|
||||
ssh \
|
||||
nano \
|
||||
locales \
|
||||
gpg && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
ssh \
|
||||
gpg \
|
||||
gpg-agent \
|
||||
curl \
|
||||
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
|
||||
&& apt-get -y update \
|
||||
&& apt-get install --no-install-recommends -y nodejs \
|
||||
&& node --version \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY .bashrc tmp
|
||||
RUN mv /tmp/.bashrc ~/.bashrc
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "ZMK Development",
|
||||
"dockerFile": "Dockerfile",
|
||||
"extensions": ["ms-vscode.cpptools"],
|
||||
"runArgs": ["--security-opt", "label=disable"],
|
||||
"runArgs": ["--security-opt", "label=disable", "--publish", "3000"],
|
||||
"containerEnv": {"WORKSPACE_DIR": "${containerWorkspaceFolder}"},
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
|
|
Loading…
Add table
Reference in a new issue