aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-10-13 20:55:33 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-10-13 21:01:17 -0300
commite875973f63fc9a9582e957eb7264a4a589b78a97 (patch)
tree7169e9949d83d0867b10bdb1cec44911bbff2aff /docker/Dockerfile
parent61f6fb386e162ed2bdbd2f9351e7c220c898483f (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/Dockerfile')
-rw-r--r--docker/Dockerfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 0000000..74bec62
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,31 @@
+FROM debian:bookworm-slim as base
+
+ENV DEBIAN_FRONTEND=noninteractive
+
+# If you have a running instance of squid-deb-proxy or apt-cacher-ng this will
+# allow you to use it an avoid wasting bandwith every time you create an image.
+ARG httpproxy
+ARG httpsproxy
+ENV http_proxy=$httpproxy
+ENV https_proxy=$httpproxy
+
+COPY install_packages.sh /tmp
+RUN /tmp/install_packages.sh
+COPY set_up_agl-demo-control-panel.sh /tmp
+RUN /tmp/set_up_agl-demo-control-panel.sh
+
+COPY entrypoint.sh /opt
+
+ENV LANG en_US.UTF-8
+ENV LANGUAGE en_US:en
+ENV LC_ALL en_US.UTF-8
+
+# Clean proxy variables.
+ENV http_proxy=
+ENV https_proxy=
+
+# Set the locale
+RUN locale-gen en_US.UTF-8
+ENV LANG en_US.UTF-8
+
+ENTRYPOINT /opt/entrypoint.sh \ No newline at end of file