Public | Automated Build

Last pushed: a year ago
Dockerfile
# # Oracle JDK 8 image # FROM 1science/alpine:3.1 # Java Version ENV JAVA_VERSION=8 JAVA_UPDATE=45 JAVA_BUILD=14 JAVA_PACKAGE=jdk JAVA_HOME=/usr/lib/jvm/default-jvm # Set environment ENV PATH=${PATH}:${JAVA_HOME}/bin # Copy apks COPY /lib /var/cache/apk # Install Glibc and Oracle JDK 8 WORKDIR /usr/lib/jvm RUN apk add --update libgcc && \ apk add --allow-untrusted /var/cache/apk/glibc-2.21-r2.apk && \ apk add --allow-untrusted /var/cache/apk/glibc-bin-2.21-r2.apk && \ /usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib && \ wget --header "Cookie: oraclelicense=accept-securebackup-cookie;" \ "http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION}u${JAVA_UPDATE}-b${JAVA_BUILD}/${JAVA_PACKAGE}-${JAVA_VERSION}u${JAVA_UPDATE}-linux-x64.tar.gz" && \ tar xzf "${JAVA_PACKAGE}-${JAVA_VERSION}u${JAVA_UPDATE}-linux-x64.tar.gz" && \ mv "jdk1.${JAVA_VERSION}.0_${JAVA_UPDATE}" java-${JAVA_VERSION}-oracle && \ ln -s "java-${JAVA_VERSION}-oracle" $JAVA_HOME && \ apk del libgcc && \ rm -f ${JAVA_PACKAGE}-${JAVA_VERSION}u${JAVA_UPDATE}-linux-x64.tar.gz && \ rm -f /var/cache/apk/* && \ rm -rf default-jvm/*src.zip \ default-jvm/lib/missioncontrol \ default-jvm/lib/visualvm \ default-jvm/lib/*javafx* \ default-jvm/jre/lib/plugin.jar \ default-jvm/jre/lib/ext/jfxrt.jar \ default-jvm/jre/bin/javaws \ default-jvm/jre/lib/javaws.jar \ default-jvm/jre/lib/desktop \ default-jvm/jre/plugin \ default-jvm/jre/lib/deploy* \ default-jvm/jre/lib/*javafx* \ default-jvm/jre/lib/*jfx* \ default-jvm/jre/lib/amd64/libdecora_sse.so \ default-jvm/jre/lib/amd64/libprism_*.so \ default-jvm/jre/lib/amd64/libfxplugins.so \ default-jvm/jre/lib/amd64/libglass.so \ default-jvm/jre/lib/amd64/libgstreamer-lite.so \ default-jvm/jre/lib/amd64/libjavafx*.so \ default-jvm/jre/lib/amd64/libjfx*.so && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ echo -ne "- with `java -version 2>&1 | awk 'NR == 2'`\n" >> /root/.built WORKDIR /root
Source Repository