diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6ad48ff9b8464..2bea24155dabd 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.205.2/containers/go/.devcontainer/base.Dockerfile +# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/go/.devcontainer/base.Dockerfile # [Choice] Go version (use -bullseye variants on local arm64/Apple Silicon): 1, 1.16, 1.17, 1-bullseye, 1.16-bullseye, 1.17-bullseye, 1-buster, 1.16-buster, 1.17-buster ARG VARIANT="1.17-bullseye" @@ -17,4 +17,7 @@ RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/ # RUN go get -x # [Optional] Uncomment this line to install global node packages. -RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g vercel yarn yalc pnpm" 2>&1 +RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g vercel yarn yalc pnpm nodemon" 2>&1 + +# Add hyperfine, a usefule benchmarking tool +RUN wget https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine_1.12.0_arm64.deb && dpkg -i hyperfine_1.12.0_arm64.deb \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f07988f35354a..ab96101f9b267 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: -// https://github.com/microsoft/vscode-dev-containers/tree/v0.205.2/containers/go +// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/go { "name": "turbo (go, node)", "build": { @@ -25,19 +25,25 @@ // Add the IDs of extensions you want installed when the container is created. "extensions": [ - "golang.Go", - "windmilleng.vscode-go-autotest", - "dbaeumer.vscode-eslint", "bradlc.vscode-tailwindcss", + "christian-kohler.npm-intellisense", + "dbaeumer.vscode-eslint", + "eamodio.gitlens", + "esbenp.prettier-vscode", + "github.copilot", + "github.vscode-pull-request-github", + "golang.Go", "heybourn.headwind", - "esbenp.prettier-vscode" + "silvenon.mdx", + "windmilleng.vscode-go-autotest", + "yzhang.markdown-all-in-one" ], // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "go version", + "postCreateCommand": "go version", // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode",