Update to Ubuntu 16.04 / version 0.0.2
This commit is contained in:
parent
2b9feed6aa
commit
24c236ac76
|
@ -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 && \
|
||||
|
|
21
README.md
21
README.md
|
@ -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:
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue