appletviewer has no netscape.javascript.JSObject, so applets that touch JavaScript fail to load, and Java 8 denies applets the URLPermission they need to fetch through an HTTP proxy. Add a JSObject stand-in with a working document.cookie and a policy granting HTTP URL access.
22 lines
569 B
Docker
22 lines
569 B
Docker
FROM eclipse-temurin:8-jdk AS jsobject
|
|
COPY jsobject /src
|
|
RUN mkdir /classes && \
|
|
javac -d /classes $(find /src -name '*.java') && \
|
|
jar cf /jsobject.jar -C /classes .
|
|
|
|
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
fontconfig \
|
|
fonts-dejavu-core \
|
|
libasound2-plugins \
|
|
libxi6 \
|
|
libxrender1 \
|
|
libxtst6 \
|
|
sqlite3 && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY root/ /
|
|
COPY --from=jsobject /jsobject.jar /opt/flashpoint/jsobject.jar
|