GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — netty/docker/Dockerfile.centos6 at 4.2 · Songdoeon/netty Expand file tree/ Copy pathDockerfile.centos6More file actions 45 lines (36 loc) · 1.31 KB / Copy pathDockerfile.centos6File metadata and controls45 lines (36 loc) · 1.31 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 FROM --platform=linux/amd64 centos:6.10 # Update as we need to use the vault now. RUN sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\//baseurl=https:\/\/linuxsoft.cern.ch\/centos-vault\/\/6.10\//g' /etc/yum.repos.d/CentOS-Base.repo # install dependencies RUN yum install -y \ apr-devel \ autoconf \ automake \ git \ glibc-devel \ java-1.8.0-openjdk-devel \ libtool \ lksctp-tools \ lsb-core \ make \ openssl-devel \ tar \ unzip \ wget \ zip # Downloading and installing SDKMAN! RUN curl -s "https://get.sdkman.io?ci=true" | bash ARG java_version="8.0.302-zulu" ENV JAVA_VERSION=$java_version # Installing Java removing some unnecessary SDKMAN files RUN bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && \ yes | sdk install java $JAVA_VERSION && \ rm -rf $HOME/.sdkman/archives/* && \ rm -rf $HOME/.sdkman/tmp/*" RUN echo 'export JAVA_HOME="/root/.sdkman/candidates/java/current"' >> ~/.bashrc RUN echo 'PATH=/jdk/bin:$PATH' >> ~/.bashrc # Cleanup RUN yum clean all && \ rm -rf /var/cache/yum # when the JDK is GraalVM install native-image RUN if [ -O /root/.sdkman/candidates/java/current/bin/gu ]; then /root/.sdkman/candidates/java/current/bin/gu install native-image; else echo "No Graal Updater, skip installation of native-image" ; fi |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |