Go to file
2019-04-04 16:42:41 +02:00
conf init commit 2019-03-27 14:36:43 +00:00
.gitignore init commit 2019-03-27 14:36:43 +00:00
1.Dockerfile init commit 2019-03-27 14:36:43 +00:00
2.Dockerfile init commit 2019-03-27 14:36:43 +00:00
dep.Dockerfile add standalone Dockerfile 2019-04-04 16:42:41 +02:00
Dockerfile add standalone Dockerfile 2019-04-04 16:42:41 +02:00
LICENSE init commit 2019-03-27 14:36:43 +00:00
README.md update README 2019-03-27 17:29:31 +02:00

Chrome-vnc

A multi-arch Docker chome VNC

Build Steps

Build and download dependences

# clean old files
sudo rm -rf res; mkdir -p res;
# 
docker build -f dep.Dockerfile -t urielch/build-plugin .
docker run --rm -i -v $(pwd)/res:/opt --name tmp-compiler urielch/build-plugin /dl.sh
ls -lh res

Build and test images

docker build -f 1.Dockerfile  -t urielch/chrome-vnc:$(dpkg --print-architecture) .
docker run -p 5900:5900 --name chrome urielch/chrome-vnc:$(dpkg --print-architecture)
docker exec -it chrome bash
docker rm -f chrome

Upload arch images

docker login
docker push urielch/chrome-vnc:$(dpkg --print-architecture)

Update multiArch Docker tag

edit ~/.docker/config.json add:

{
    "experimental": "enabled"
}
docker rmi urielch/chrome-vnc:latest
docker manifest inspect urielch/chrome-vnc:latest
docker manifest create --amend urielch/chrome-vnc:latest urielch/chrome-vnc:amd64 urielch/chrome-vnc:armhf
docker manifest --purge push urielch/chrome-vnc:latest

Test multi arch image

docker pull urielch/chrome-vnc:latest
docker run -p 5900:5900 --name chrome urielch/chrome-vnc:latest

Cleanup images

docker rm $(docker ps -a -q)
docker rmi $(docker images -q)