You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28e148ba82 | 5 years ago | |
---|---|---|
conf | 5 years ago | |
.gitignore | 5 years ago | |
1.Dockerfile | 5 years ago | |
2.Dockerfile | 5 years ago | |
Dockerfile | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
dep.Dockerfile | 5 years ago |
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
docker build -t urielch/chrome-vnc:latest .
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)