Skip to content

Commit a1f729b

Browse files
committed
refactor: cleanup of Dockerfile
remove env variables that are not needed, they are already defined inside ofthe cargo.config file Signed-off-by: Flavio Castelli <fcastelli@suse.com>
1 parent 299f591 commit a1f729b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ RUN rustup target add $(arch)-unknown-linux-musl
77
# Fix ring building using musl - see https://github.com/briansmith/ring/issues/1414#issuecomment-1055177218
88
RUN apt-get update && apt-get install musl-tools clang llvm -y
99
ENV CC="clang"
10-
ENV AR="llvm-ar"
11-
ENV RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld"
1210

1311
RUN mkdir /usr/src/policy-server
1412
WORKDIR /usr/src/policy-server

0 commit comments

Comments
 (0)