diff options
author | 2023-10-13 20:55:33 -0300 | |
---|---|---|
committer | 2023-10-13 21:01:17 -0300 | |
commit | e875973f63fc9a9582e957eb7264a4a589b78a97 (patch) | |
tree | 7169e9949d83d0867b10bdb1cec44911bbff2aff /docker/README.md | |
parent | 61f6fb386e162ed2bdbd2f9351e7c220c898483f (diff) |
Add a Dockerfile and related files
This builds a Docker container based upon bookworm-slim and starts
the application using Qt's VNC platform plugin.
Change-Id: Ica4437bb73b7c9b73b8e7ade6d2a7b508bb817e9
Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'docker/README.md')
-rw-r--r-- | docker/README.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 0000000..29f5e5a --- /dev/null +++ b/docker/README.md @@ -0,0 +1,38 @@ +# Docker container for AGL Demo Control Panel + +## Building + +In this directory run: + +```bash +$ docker build \ + --pull -t agl-demo-control-panel . +``` +Or, if you have an apt cacher like squid-deb-proxy: + +```bash +$ docker build \ + --build-arg httpproxy="http://<proxy IP>:<proxy port>/" \ + --build-arg httpsproxy="https://<proxy IP>:<proxy port>/" \ + --pull -t agl-demo-control-panel . +``` + +## Running the container + +```bash +$ docker run -ti --rm --network host agl-demo-control-panel +``` + +If you plan to use this frequently do consider adding it as an alias into your ~/.bashrc! + +Edit ~/.bashrc and add this line: + +```bash +alias docker_agl-demo-control-panel='docker run -ti --rm --network host agl-demo-control-panel' +``` + +Then source ~/.bashrc or log out and in and simply run: + +```bash +$ docker_agl-demo-control-panel +``` |