File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ docker-compose build
3232YOUR_CRATE=/path/to/your/crate
3333# avoid docker-compose creating the volume if it doesn't exist
3434if [ -e " $YOUR_CRATE " ]; then
35- docker-compose run -e DOCS_RS_LOCAL_IMAGE=build-env \
35+ docker-compose run -e DOCS_RS_LOCAL_DOCKER_IMAGE=build-env \
36+ -e RUST_BACKTRACE=1 \
3637 -v " $YOUR_CRATE " :/opt/rustwide/workdir \
3738 web build crate --local /opt/rustwide/workdir
3839else
@@ -51,7 +52,7 @@ Rerun the build and start the container; it should take much less time now:
5152cd /path/to/crates-build-env
5253docker build --tag build-env .
5354cd /path/to/docs.rs
54- docker-compose run -e DOCS_RS_LOCAL_IMAGE =build-env \
55+ docker-compose run -e DOCS_RS_LOCAL_DOCKER_IMAGE =build-env \
5556 -v " $YOUR_CRATE " :/opt/rustwide/workdir \
5657 web build crate --local /opt/rustwide/workdir
5758```
You can’t perform that action at this time.
0 commit comments