File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ ARG VARIANT="22"
2
+ FROM mcr.microsoft.com/devcontainers/javascript-node:1-${VARIANT}
3
+
4
+ # Install system dependencies
5
+ RUN apt-get update \
6
+ && export DEBIAN_FRONTEND=noninteractive \
7
+ && apt-get -y install --no-install-recommends curl gnupg2 tar xz-utils build-essential \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ # Switch to node user to install wasmtime
11
+ USER node
12
+
13
+ # Install Wasmtime
14
+ RUN curl https://wasmtime.dev/install.sh -sSf | bash
15
+
16
+ # Install just
17
+ RUN npm install -g rust-just
18
+
19
+ # Set up workspace
20
+ WORKDIR /workspace
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " wasi-http-js" ,
3
+ "build" : {
4
+ "dockerfile" : " Dockerfile" ,
5
+ "context" : " .."
6
+ },
7
+ "settings" : {
8
+ },
9
+ "extensions" : [
10
+ ],
11
+ "forwardPorts" : [8080 ],
12
+ "remoteUser" : " node"
13
+ }
You can’t perform that action at this time.
0 commit comments