5
5
echo " Installing apt dependencies"
6
6
7
7
# Build packages will be added during the build, but will be removed at the end.
8
- BUILD_PACKAGES=" gettext gnupg libcurl4-openssl-dev libfreetype6-dev libicu-dev libjpeg62-turbo-dev \
8
+ BUILD_PACKAGES=" gettext libcurl4-openssl-dev libfreetype6-dev libicu-dev libjpeg62-turbo-dev \
9
9
libldap2-dev libmariadb-dev libmemcached-dev libpng-dev libpq-dev libxml2-dev libxslt-dev \
10
- unixodbc-dev uuid-dev"
10
+ uuid-dev"
11
11
12
12
# Packages for Postgres.
13
13
PACKAGES_POSTGRES=" libpq5"
@@ -17,7 +17,7 @@ PACKAGES_MYMARIA="libmariadb3"
17
17
18
18
# Packages for other Moodle runtime dependenices.
19
19
PACKAGES_RUNTIME=" ghostscript libaio1 libcurl4 libgss3 libicu67 libmcrypt-dev libxml2 libxslt1.1 \
20
- libzip-dev locales sassc unixodbc unzip zip"
20
+ libzip-dev locales sassc unzip zip"
21
21
22
22
# Packages for Memcached.
23
23
PACKAGES_MEMCACHED=" libmemcached11 libmemcachedutil2"
@@ -74,15 +74,6 @@ echo "pcov.exclude='~\/(tests|coverage|vendor|node_modules)\/~'" >> /usr/local/e
74
74
echo " pcov.directory=." >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini
75
75
echo " pcov.initial.files=1024" >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini
76
76
77
- # Install Microsoft dependencies for sqlsrv.
78
- # (kept apart for clarity, still need to be run here
79
- # before some build packages are deleted)
80
- if [[ ${TARGETPLATFORM} == " linux/amd64" ]]; then
81
- /tmp/setup/sqlsrv-extension.sh
82
- else
83
- echo " sqlsrv extension not available for ${TARGETPLATFORM} architecture, skipping"
84
- fi
85
-
86
77
# Keep our image size down..
87
78
pecl clear-cache
88
79
apt-get remove --purge -y $BUILD_PACKAGES
0 commit comments