Skip to content

Commit

Permalink
Merge pull request #6034 from dantengsky/feat-ci-dokcer-export-ld-path
Browse files Browse the repository at this point in the history
feat(ci): export JAVA_HOME/lib/server as LD_LIB_PATH
  • Loading branch information
dantengsky authored Jun 17, 2022
2 parents 16e1cc5 + 4a3401c commit f126769
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/build-tool/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN curl -qL https://github.com/rui314/mold/releases/download/v1.2.1/mold-1.2.1-
ln -sf /usr/local/bin/mold /usr/bin/$(uname -m)-linux-gnu-ld

ENV JAVA_HOME /opt/java
ENV LD_LIBRARY_PATH /opt/java/lib/server
ENV RUSTUP_HOME /opt/rust/rustup
ENV CARGO_HOME /opt/rust/cargo
ENV PATH /opt/rust/cargo/bin:/opt/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Expand Down

0 comments on commit f126769

Please sign in to comment.