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
|
ENV LC_ALL=C
|
||||||
|
|
||||||
RUN apt-get -y update && \
|
RUN apt-get -y update \
|
||||||
apt-get -y upgrade && \
|
&& apt-get -y upgrade \
|
||||||
apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
ssh \
|
ssh \
|
||||||
nano \
|
nano \
|
||||||
locales \
|
locales \
|
||||||
gpg && \
|
ssh \
|
||||||
rm -rf /var/lib/apt/lists/*
|
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
|
COPY .bashrc tmp
|
||||||
RUN mv /tmp/.bashrc ~/.bashrc
|
RUN mv /tmp/.bashrc ~/.bashrc
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "ZMK Development",
|
"name": "ZMK Development",
|
||||||
"dockerFile": "Dockerfile",
|
"dockerFile": "Dockerfile",
|
||||||
"extensions": ["ms-vscode.cpptools"],
|
"extensions": ["ms-vscode.cpptools"],
|
||||||
"runArgs": ["--security-opt", "label=disable"],
|
"runArgs": ["--security-opt", "label=disable", "--publish", "3000"],
|
||||||
"containerEnv": {"WORKSPACE_DIR": "${containerWorkspaceFolder}"},
|
"containerEnv": {"WORKSPACE_DIR": "${containerWorkspaceFolder}"},
|
||||||
"settings": {
|
"settings": {
|
||||||
"terminal.integrated.shell.linux": "/bin/bash"
|
"terminal.integrated.shell.linux": "/bin/bash"
|
||||||
|
|
Loading…
Add table
Reference in a new issue