/
githubmirror
/
alluxio
Обзор
Документация
Войти
/
githubmirror
/
alluxio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
integration/docker/Dockerfile-dev
42 строки
2 KB
Rico Chiu
Update version to 2.10.0-SNAPSHOT
02 июл 2024, 23:56
02 июл 2024, 23:56
e55bf07
Код
Авторство
О чём код?
# # The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 # (the "License"). You may not use this work except in compliance with the License, which is # available at www.apache.org/licenses/LICENSE-2.0 # # This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, # either express or implied, as more fully set forth in the License. # # See the NOTICE file distributed with this work for information regarding copyright ownership. # FROM alluxio/alluxio:2.10.0-SNAPSHOT USER root RUN \ yum update -y && yum upgrade -y && \ yum install -y java-11-openjdk-devel java-11-openjdk && \ yum install -y ca-certificates pkgconfig wget udev git gcc gcc-c++ make cmake gettext-devel libtool autoconf unzip vim && \ yum clean all # Create a symlink for setting JAVA_HOME depending on java version. ENV cannot be set conditionally. RUN ln -s /usr/lib/jvm/java-1.8.0-openjdk /usr/lib/jvm/java-8-openjdk ARG JAVA_VERSION=8 ENV JAVA_HOME /usr/lib/jvm/java-${JAVA_VERSION}-openjdk # Disable JVM DNS cache in java11 (https://github.com/Alluxio/alluxio/pull/9452) RUN echo "networkaddress.cache.ttl=0" >> /usr/lib/jvm/java-11-openjdk/conf/security/java.security # Install arthas(https://github.com/alibaba/arthas) for analyzing performance bottleneck RUN wget -qO /tmp/arthas.zip "https://github.com/alibaba/arthas/releases/download/arthas-all-3.4.6/arthas-bin.zip" && \ mkdir -p /opt/arthas && \ unzip /tmp/arthas.zip -d /opt/arthas && \ rm /tmp/arthas.zip # Install async-profiler(https://github.com/jvm-profiling-tools/async-profiler/releases/tag/v1.8.3) RUN wget -qO /tmp/async-profiler-1.8.3-linux-x64.tar.gz "https://github.com/jvm-profiling-tools/async-profiler/releases/download/v1.8.3/async-profiler-1.8.3-linux-x64.tar.gz" && \ tar -xvf /tmp/async-profiler-1.8.3-linux-x64.tar.gz -C /opt && \ mv /opt/async-profiler-* /opt/async-profiler && \ rm /tmp/async-profiler-1.8.3-linux-x64.tar.gz USER ${ALLUXIO_DEV_UID}