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
32
32
YOUR_CRATE=/path/to/your/crate
33
33
# avoid docker-compose creating the volume if it doesn't exist
34
34
if [ -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 \
36
37
-v " $YOUR_CRATE " :/opt/rustwide/workdir \
37
38
web build crate --local /opt/rustwide/workdir
38
39
else
@@ -51,7 +52,7 @@ Rerun the build and start the container; it should take much less time now:
51
52
cd /path/to/crates-build-env
52
53
docker build --tag build-env .
53
54
cd /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 \
55
56
-v " $YOUR_CRATE " :/opt/rustwide/workdir \
56
57
web build crate --local /opt/rustwide/workdir
57
58
```
You can’t perform that action at this time.
0 commit comments