Update to Ubuntu 16.04 / version 0.0.2

This commit is contained in:
Nico Schottelius 2022-08-20 18:19:14 +02:00
parent 2b9feed6aa
commit 24c236ac76
3 changed files with 59 additions and 4 deletions

View File

@ -1,12 +1,13 @@
#FROM cmaohuang/firefox-java:latest
FROM ubuntu:14.04
#FROM ubuntu:14.04
FROM ubuntu:16.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
icedtea-8-plugin icedtea-netx
#&& update-alternatives --set javaws /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws
RUN mkdir ~/.vnc && \

View File

@ -19,6 +19,27 @@ vncviewer localhost
(replace localhost with wherever you have the container running)
## Maintainer note
Building & pushing:
```
docker build -t ungleich/firefox-java-vnc .
docker push ungleich/firefox-java-vnc
```
## Changelog
### 0.0.2
* Switched to Ubuntu 16.04 as the base image
* Added kubernetes sample deployment
### 0.0.1
* Initial release based on Ubuntu 14.04
* Firefox somewhat working, mostly failing to load any page...
## Credit
Based on the following repos/work:

33
deployment.yaml Normal file
View File

@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ungleich-firefox-java-vnc
spec:
selector:
matchLabels:
app: ungleich-firefox-java-vnc
replicas: 1
template:
metadata:
labels:
app: ungleich-firefox-java-vnc
spec:
containers:
- name: firefox
image: ungleich/firefox-java-vnc:0.0.2
imagePullPolicy: Always
---
---
apiVersion: v1
kind: Service
metadata:
name: ungleich-firefox-java-vnc
labels:
app: ungleich-firefox-java-vnc
spec:
type: ClusterIP
ports:
- port: 5900
name: vnc
selector:
app: ungleich-firefox-java-vnc