@@ -64,7 +64,8 @@ $STD apt-get install --no-install-recommends -y \
6464 libdav1d-dev \
6565 libhwy-dev \
6666 libwebp-dev \
67- libaom-dev
67+ libaom-dev \
68+ ccache
6869curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | gpg --dearmor -o /etc/apt/keyrings/jellyfin.gpg
6970DPKG_ARCHITECTURE=" $( dpkg --print-architecture) "
7071export DPKG_ARCHITECTURE
@@ -126,7 +127,7 @@ $STD apt-get install -t testing --no-install-recommends -yqq libmimalloc3
126127msg_ok " Installed libmimalloc3"
127128
128129PNPM_VERSION=" $( curl -fsSL " https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/package.json" | jq -r ' .packageManager | split("@")[1]' ) "
129- NODE_VERSION=" 22 " NODE_MODULE=" pnpm@${PNPM_VERSION} " setup_nodejs
130+ NODE_VERSION=" 24 " NODE_MODULE=" pnpm@${PNPM_VERSION} " setup_nodejs
130131PG_VERSION=" 16" PG_MODULES=" pgvector" setup_postgresql
131132
132133msg_info " Setting up Postgresql Database"
@@ -287,7 +288,7 @@ GEO_DIR="${INSTALL_DIR}/geodata"
287288mkdir -p " $INSTALL_DIR "
288289mkdir -p {" ${APP_DIR} " ," ${UPLOAD_DIR} " ," ${GEO_DIR} " ," ${INSTALL_DIR} " /cache}
289290
290- fetch_and_deploy_gh_release " immich" " immich-app/immich" " tarball" " v2.1 .0" " $SRC_DIR "
291+ fetch_and_deploy_gh_release " immich" " immich-app/immich" " tarball" " v2.2 .0" " $SRC_DIR "
291292
292293msg_info " Installing ${APPLICATION} (patience)"
293294
@@ -351,15 +352,10 @@ ln -s "$UPLOAD_DIR" "$ML_DIR"/upload
351352
352353msg_info " Installing GeoNames data"
353354cd " $GEO_DIR "
354- URL_LIST=(
355- https://download.geonames.org/export/dump/admin1CodesASCII.txt
356- https://download.geonames.org/export/dump/admin2Codes.txt
357- https://download.geonames.org/export/dump/cities500.zip
358- https://raw.githubusercontent.com/nvkelso/natural-earth-vector/v5.1.2/geojson/ne_10m_admin_0_countries.geojson
359- )
360- for geo in " ${URL_LIST[@]} " ; do
361- curl -fsSLO " $geo "
362- done
355+ curl -fsSLZ -O " https://download.geonames.org/export/dump/admin1CodesASCII.txt" \
356+ -O " https://download.geonames.org/export/dump/admin2Codes.txt" \
357+ -O " https://download.geonames.org/export/dump/cities500.zip" \
358+ -O " https://raw.githubusercontent.com/nvkelso/natural-earth-vector/v5.1.2/geojson/ne_10m_admin_0_countries.geojson"
363359unzip -q cities500.zip
364360date --iso-8601=seconds | tr -d " \n" > geodata-date.txt
365361rm cities500.zip
0 commit comments