Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/docker/Dockerfile.nile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV BASE_DIR="/java-tron"

# Update and install dependencies without using any cache
RUN apt-get update $NO_PROXY_CACHE && \
apt-get --quiet --yes install git wget 7zip curl jq && \
apt-get --quiet --yes install git wget 7zip curl jq libtcmalloc-minimal4 && \
wget -P /usr/local https://github.com/frekele/oracle-java/releases/download/8u202-b08/$JDK_TAR \
&& echo "$JDK_MD5 /usr/local/$JDK_TAR" | md5sum -c \
&& tar -zxf /usr/local/$JDK_TAR -C /usr/local\
Expand Down Expand Up @@ -41,6 +41,8 @@ RUN apt-get update $NO_PROXY_CACHE && \

ENV JAVA_HOME="/usr/local/jre"
ENV PATH=$PATH:$JAVA_HOME/bin
ENV LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4"
ENV TCMALLOC_RELEASE_RATE=10

COPY docker-entrypoint.sh $BASE_DIR/bin

Expand Down
Loading