Skip to content

Commit

Permalink
fix: Pr local dev docker (QwikDev#5237)
Browse files Browse the repository at this point in the history
  • Loading branch information
SauravChanda authored Oct 5, 2023
1 parent d3d9d2a commit a4e816f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM cimg/rust:1.65.0-node
FROM cimg/rust:1.72.1-node

RUN rustup toolchain install nightly-2022-09-23; \
rustup default nightly-2022-09-23; \
rustup --version; \
RUN rustup --version; \
cargo --version; \
rustc --version; \
rustup update; \
rustc --version;

RUN rustup update; \
rustup target add wasm32-unknown-unknown; \
cargo install cargo-insta wasm-pack; \
cargo install cargo-insta; \
cargo install wasm-pack; \
rustup component add clippy; \
corepack enable --install-directory ~/bin

RUN mkdir /home/circleci/store; \
pnpm config set store-dir /home/circleci/store
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ You need to have these tools up and running in your local machine:

If you would like to make use of the devlopment container solution, but don't use VSCode or Dev Containers, you still can do so, by following steps:

- Build development container locally: `cd .devcontainers; docker build -t qwik-container .`
- Build development container locally: `cd .devcontainer; docker build -t qwik-container .`
- Run development container from Qwik project root, binding the directory to container: `cd ..; docker run --rm -d --name qwik-container -p 3300:3300 -p 9229:9299 -v $PWD:/home/circleci/project -t qwik-container`

Docker command does:
Expand Down

0 comments on commit a4e816f

Please sign in to comment.