Enable RUST_BACKTRACE=full for test and build/deploy images

This commit is contained in:
Deirdre Connolly 2020-11-22 21:19:08 -05:00 committed by Deirdre Connolly
parent 2eceff421f
commit a877da2157
2 changed files with 3 additions and 1 deletions

View File

@ -35,4 +35,6 @@ RUN printf "endpoint_addr = '0.0.0.0:3000'\n" >> /zebrad.toml
EXPOSE 3000 8233 18233
ENV RUST_BACKTRACE full
CMD [ "/zebrad", "-c", "/zebrad.toml", "start" ]

View File

@ -7,7 +7,7 @@ RUN apt-get update && \
RUN mkdir /zebra
WORKDIR /zebra
ENV RUST_BACKTRACE 1
ENV RUST_BACKTRACE full
ENV CARGO_HOME /zebra/.cargo/
RUN rustc -V; cargo -V; rustup -V