blob: 422d3ace8211158fb028b8fe86dfc31e5ae35668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/bash
# Exit as soon as something fails.
set -e
# The idea behind doing all this in a script is to reduce the final size of the
# docker image, as all this will only generate one layer.
echo "http_proxy is $http_proxy"
echo "https_proxy is $https_proxy"
# Keep the dependency list as short as reasonable
apt-get update
apt-get install --yes \
bash \
git \
locales
# Install AGL Demo Control Panel dependencies
apt-get install --yes \
python3-pip \
python3-venv \
python3-pyqt6.sip \
qt6-base-dev
# Set bash as default shell
echo "dash dash/sh boolean false" | debconf-set-selections - && dpkg-reconfigure dash
# Set the locale
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
apt-get --yes clean
apt-get --yes autoremove
|