Add CARGO_LOG build arg

Add the `CARGO_LOG` build argument into the build environment so that _if_ it is specified we can then see some stuff
This commit is contained in:
Tristan B. Velloza Kildaire 2024-09-16 18:04:28 +02:00 committed by GitHub
parent 6329acd82b
commit b4da93e1cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
FROM docker.io/library/rust:1-bookworm as builder FROM docker.io/library/rust:1-bookworm as builder
ARG CARGO_LOG
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y cmake protobuf-compiler \ && apt-get install -y cmake protobuf-compiler \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*