drop java support
This commit is contained in:
parent
d216685781
commit
822b895e4c
32
Dockerfile
32
Dockerfile
@ -51,38 +51,6 @@ RUN cd /tmp && \
|
|||||||
dpkg -i google-talkplugin.deb && \
|
dpkg -i google-talkplugin.deb && \
|
||||||
rm -f google-talkplugin.deb
|
rm -f google-talkplugin.deb
|
||||||
|
|
||||||
# Java x64 RE plugin
|
|
||||||
# https://java.com/en/download/manual.jsp
|
|
||||||
# https://www.java.com/verify
|
|
||||||
ENV JAVA_VER 8
|
|
||||||
ENV JAVA_JRE_UVER 111
|
|
||||||
ENV JAVA_JRE_FVER 1.8.0_111
|
|
||||||
ENV JAVA_BUNDLE_ID 216424
|
|
||||||
ENV JAVA_FONTS "/usr/share/fonts/truetype"
|
|
||||||
ENV _JAVA_OPTIONS "-Dawt.useSystemAAFontSettings=on \
|
|
||||||
-Dswing.aatext=true \
|
|
||||||
-Dsun.java2d.xrender=true \
|
|
||||||
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
|
|
||||||
# ENV _JAVA_AWT_WM_NONREPARENTING 1
|
|
||||||
#
|
|
||||||
# You can pick alternative Java look (swing.defaultlaf=):
|
|
||||||
# - javax.swing.plaf.metal.MetalLookAndFeel
|
|
||||||
# - javax.swing.plaf.nimbus.NimbusLookAndFeel
|
|
||||||
# - com.sun.java.swing.plaf.gtk.GTKLookAndFeel
|
|
||||||
# - com.sun.java.swing.plaf.motif.MotifLookAndFeel
|
|
||||||
ADD http://javadl.sun.com/webapps/download/AutoDL?BundleId=$JAVA_BUNDLE_ID /tmp/jre.tar.gz
|
|
||||||
RUN mkdir -p /opt/java/64 && \
|
|
||||||
tar xf /tmp/jre.tar.gz -C /opt/java/64/ && \
|
|
||||||
rm -f /tmp/jre.tar.gz && \
|
|
||||||
chown -Rh root:root /opt/java/64/ && \
|
|
||||||
cd /opt/java/64/ && \
|
|
||||||
ln -sv jre${JAVA_JRE_FVER} jre && \
|
|
||||||
ln -sv /opt/java/64/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/ && \
|
|
||||||
update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre/bin/java" 1 && \
|
|
||||||
update-alternatives --set java /opt/java/64/jre/bin/java && \
|
|
||||||
update-alternatives --install "/usr/bin/javaws" "javaws" "/opt/java/64/jre/bin/javaws" 1 && \
|
|
||||||
update-alternatives --set javaws /opt/java/64/jre/bin/javaws
|
|
||||||
|
|
||||||
# Define a user under which the Firefox will be running
|
# Define a user under which the Firefox will be running
|
||||||
ENV USER user
|
ENV USER user
|
||||||
ENV UID 1000
|
ENV UID 1000
|
||||||
|
Loading…
Reference in New Issue
Block a user