Compare commits

..

No commits in common. "70afadd51e37dad1076a17516b31be8008306882" and "424379c76c4c648ac7c4ea024ab1bc0486fad28e" have entirely different histories.

5 changed files with 10 additions and 80 deletions

View file

@ -1,3 +1,4 @@
#FROM ubuntu:14.04
FROM ubuntu:16.04
# Required for instaling packages
@ -6,7 +7,8 @@ USER root
RUN apt-get update && apt-get -y install x11vnc xvfb firefox jwm \
icedtea-8-plugin icedtea-netx
RUN echo "jdk.tls.disabledAlgorithms=TLSv1.1, TLSv1.2" >> /etc/java-8-openjdk/security/java.security
#&& update-alternatives --set javaws /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws
RUN mkdir ~/.vnc && \
echo "firefox &" > ~/.xinitrc && \

View file

@ -1,14 +0,0 @@
FROM ubuntu:14.04
# Required for instaling packages
USER root
RUN apt-get update && apt-get -y install x11vnc xvfb firefox jwm \
iceweasel openjdk-6-jre tzdata-java icedtea-6-plugin icedtea-netx \
&& update-alternatives --set javaws /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws
RUN mkdir ~/.vnc && \
echo "firefox &" > ~/.xinitrc && \
echo "exec jwm" >> ~/.xinitrc && \
chmod 755 ~/.xinitrc
ENTRYPOINT ["/usr/bin/x11vnc", "-forever", "-create"]

View file

@ -30,34 +30,16 @@ docker push ungleich/firefox-java-vnc
## Changelog
### 0.0.3
* Updated version of Ubuntu 16.04
* docker build -t ungleich/firefox-java-vnc:0.0.3 -f Dockerfile-ubuntu-16.04 .
* docker push ungleich/firefox-java-vnc:0.0.3
* Contains the java.security patch noted in 0.0.2
* Added k8s job definition for testing
* ilo3 remote console opens, but shows a grey box
### 0.0.2
* Switched to Ubuntu 16.04 as the base image
* Added kubernetes sample deployment
* Does not work with iDRAC 6
* Error with HPE ilo3:
* Caused by: net.sourceforge.jnlp.LaunchException: Fatal:
Initialization Error: Unknown Main-Class. Could not determine the
main class for this application.
* Can be fixed using echo "jdk.tls.disabledAlgorithms=TLSv1.1,
TLSv1.2" >> /etc/java-8-openjdk/security/java.security
* Hint found on https://github.com/niclan/Javafox/issues/12
### 0.0.1
* Initial release based on Ubuntu 14.04
* Works with iDRAC 6
* Error with HPE ilo3:
* Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
## Credit

View file

@ -1,20 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ungleich-firefox-java-vnc002
name: ungleich-firefox-java-vnc
spec:
selector:
matchLabels:
app: ungleich-firefox-java-vnc002
app: ungleich-firefox-java-vnc
replicas: 1
template:
metadata:
labels:
app: ungleich-firefox-java-vnc002
app: ungleich-firefox-java-vnc
spec:
containers:
- name: firefox
image: ungleich/firefox-java-vnc:0.0.2
image: ungleich/firefox-java-vnc:0.0.1
imagePullPolicy: Always
volumeMounts:
- mountPath: /dev/shm
@ -34,13 +34,13 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: ungleich-firefox-java-vnc002
name: ungleich-firefox-java-vnc
labels:
app: ungleich-firefox-java-vnc002
app: ungleich-firefox-java-vnc
spec:
type: ClusterIP
ports:
- port: 5900
name: vnc
selector:
app: ungleich-firefox-java-vnc002
app: ungleich-firefox-java-vnc

View file

@ -1,40 +0,0 @@
apiVersion: batch/v1
kind: Job
metadata:
name: ungleich-firefox-java-vnc
spec:
template:
spec:
restartPolicy: Never
containers:
- name: firefox
image: ungleich/firefox-java-vnc:0.0.1
imagePullPolicy: Always
volumeMounts:
- mountPath: /dev/shm
name: cache-volume
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN" ]
volumes:
- emptyDir:
medium: Memory
sizeLimit: 2Gi
name: cache-volume
# ---
# apiVersion: v1
# kind: Service
# metadata:
# name: ungleich-firefox-java-vnc2
# labels:
# app: ungleich-firefox-java-vnc2
# spec:
# type: ClusterIP
# ports:
# - port: 5900
# name: vnc
# selector:
# app: ungleich-firefox-java-vnc2