Skip to content

Commit

Permalink
Updating dev container
Browse files Browse the repository at this point in the history
Signed-off-by: Mikkel Mørk Hegnhøj <[email protected]>
  • Loading branch information
mikkelhegn committed Sep 10, 2024
1 parent 952817e commit 733bc86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ ARG TINYGO_VERSION="0.33.0"
RUN wget "https://github.com/tinygo-org/tinygo/releases/download/v${TINYGO_VERSION}/tinygo_${TINYGO_VERSION}_${TARGETARCH}.deb" && \
dpkg -i "tinygo_${TINYGO_VERSION}_${TARGETARCH}.deb"

# Set the current user before spin install for plugins/templates
USER $USERNAME

# Install Spin
ARG SPIN_VERSION="v2.7.0"
RUN mkdir -p /opt/spin && \
Expand All @@ -41,6 +38,9 @@ ENV PATH="$PATH:/home/$USERNAME/.cargo/bin"
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- \
-y --target wasm32-wasi

# Set the current user before node and spin install for plugins/templates
USER $USERNAME

# Install Node and NPM
ARG NODE_VERSION=20
ENV NVM_DIR=/home/${USERNAME}/.nvm
Expand Down

0 comments on commit 733bc86

Please sign in to comment.