We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c57c16 commit 1c7338bCopy full SHA for 1c7338b
images/runtime/python/install-dependencies.sh
@@ -10,15 +10,23 @@ debianFlavor=$DEBIAN_FLAVOR
10
11
# libpq-dev is for PostgreSQL
12
apt-get update \
13
- && apt-get upgrade -y \
14
- && apt-get install -y --no-install-recommends \
+ && apt-get upgrade -y
+
15
+# Install ODBC library based on Debian flavor
16
+if [ "$debianFlavor" == "noble" ]; then
17
+ odbcPackage="libodbc2"
18
+else
19
+ odbcPackage="libodbc1"
20
+fi
21
22
+apt-get install -y --no-install-recommends \
23
libexpat1 \
24
curl \
25
gnupg \
26
libpq-dev \
27
default-libmysqlclient-dev \
28
unzip \
- libodbc2 \
29
+ $odbcPackage \
30
apt-transport-https \
31
swig \
32
# GIS libraries for GeoDjango (https://docs.djangoproject.com/en/3.2/ref/contrib/gis/install/geolibs/)
0 commit comments