conf | ||
.gitignore | ||
1.Dockerfile | ||
2.Dockerfile | ||
dep.Dockerfile | ||
Dockerfile | ||
LICENSE | ||
README.md |
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)