fix: do not use empty `RUSTFLAGS` for docker build (#8052)

Empty `RUSTFLAGS` overrides everything that we define in our cargo
config.
pull/24376/head
Marco Neumann 2023-06-22 16:03:11 +02:00 committed by GitHub
parent 11a35bd767
commit 089f512e88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -18,13 +18,11 @@ ARG CARGO_NET_GIT_FETCH_WITH_CLI=false
ARG PROFILE=release
ARG FEATURES=aws,gcp,azure,jemalloc_replacing_malloc
ARG PACKAGE=influxdb_iox
ARG RUSTFLAGS=""
ENV CARGO_INCREMENTAL=$CARGO_INCREMENTAL \
CARGO_NET_GIT_FETCH_WITH_CLI=$CARGO_NET_GIT_FETCH_WITH_CLI \
PROFILE=$PROFILE \
FEATURES=$FEATURES \
PACKAGE=$PACKAGE \
RUSTFLAGS=$RUSTFLAGS
PACKAGE=$PACKAGE
RUN \
--mount=type=cache,id=influxdb_iox_rustup,sharing=locked,target=/usr/local/rustup \