diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 14:10:07 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 14:10:07 -0800 |
| commit | ba41f5d798a3b9d827a2025b1b02364d277072a8 (patch) | |
| tree | 36789321c285f015f8d88cc3121eabe34e39b0ee /.devcontainer | |
| parent | ad056f0dd42f0c86d99c468863d7f55799876594 (diff) | |
| download | neko-ba41f5d798a3b9d827a2025b1b02364d277072a8.tar.gz neko-ba41f5d798a3b9d827a2025b1b02364d277072a8.tar.bz2 neko-ba41f5d798a3b9d827a2025b1b02364d277072a8.zip | |
Devcontainer: Install Node.js 20 directly in Dockerfile
Diffstat (limited to '.devcontainer')
| -rw-r--r-- | .devcontainer/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ca97f9f..fbb7ebe 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -14,4 +14,6 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # Install golangci-lint (for ticket NK-arckp3) RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.5 -# [Optional] Install Node.js is handled by features in devcontainer.json +# Install Node.js 20 directly (so this image works with vanilla Docker without devcontainer features) +RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ + && apt-get install -y nodejs |
