Skip to content

Commit 6e9bd7d

Browse files
committed
chore: update the data folder
1 parent 21df821 commit 6e9bd7d

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1919

2020
RUN \
2121
mkdir -p \
22-
/app/immich/server/geodata \
22+
/app/immich/data/geodata \
2323
/tmp/immich-dependencies && \
2424
UBUNTU_REPO="http://archive.ubuntu.com/ubuntu/" && \
2525
printf "deb ${UBUNTU_REPO} ${LATEST_UBUNTU_VERSION} main restricted universe multiverse\ndeb-src ${UBUNTU_REPO} ${LATEST_UBUNTU_VERSION} main restricted universe multiverse" >> /etc/apt/sources.list && \
@@ -156,24 +156,24 @@ RUN \
156156
--slurpfile sources /tmp/sources.json \
157157
--slurpfile packages /tmp/packages.json \
158158
'{sources: $sources[0], packages: $packages[0]}' \
159-
> /app/immich/server/build-lock.json && \
159+
> /app/immich/data/build-lock.json && \
160160
echo "**** download geocoding data ****" && \
161161
curl -o \
162162
/tmp/cities500.zip -L \
163163
"https://download.geonames.org/export/dump/cities500.zip" && \
164164
curl -o \
165-
/app/immich/server/geodata/admin1CodesASCII.txt -L \
165+
/app/immich/data/geodata/admin1CodesASCII.txt -L \
166166
"https://download.geonames.org/export/dump/admin1CodesASCII.txt" && \
167167
curl -o \
168-
/app/immich/server/geodata/admin2Codes.txt -L \
168+
/app/immich/data/geodata/admin2Codes.txt -L \
169169
"https://download.geonames.org/export/dump/admin2Codes.txt" && \
170170
curl -o \
171-
/app/immich/server/geodata/ne_10m_admin_0_countries.geojson -L \
171+
/app/immich/data/geodata/ne_10m_admin_0_countries.geojson -L \
172172
"https://raw.githubusercontent.com/nvkelso/natural-earth-vector/v5.1.2/geojson/ne_10m_admin_0_countries.geojson" && \
173173
unzip \
174174
/tmp/cities500.zip -d \
175-
/app/immich/server/geodata && \
176-
date --iso-8601=seconds | tr -d "\n" > /app/immich/server/geodata/geodata-date.txt && \
175+
/app/immich/data/geodata && \
176+
date --iso-8601=seconds | tr -d "\n" > /app/immich/data/geodata/geodata-date.txt && \
177177
echo "**** cleanup ****" && \
178178
apt-get remove -y --purge \
179179
autoconf \

Dockerfile.aarch64

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ LABEL maintainer="hydazz, martabal"
1414

1515
RUN \
1616
mkdir -p \
17-
/app/immich/server/geodata \
17+
/app/immich/data/geodata \
1818
/tmp/immich-dependencies && \
1919
UBUNTU_REPO="http://ports.ubuntu.com/ubuntu-ports/" && \
2020
printf "deb ${UBUNTU_REPO} ${LATEST_UBUNTU_VERSION} main restricted universe multiverse\ndeb-src ${UBUNTU_REPO} ${LATEST_UBUNTU_VERSION} main restricted universe multiverse" >> /etc/apt/sources.list && \
@@ -115,24 +115,24 @@ RUN \
115115
--slurpfile sources /tmp/sources.json \
116116
--slurpfile packages /tmp/packages.json \
117117
'{sources: $sources[0], packages: $packages[0]}' \
118-
> /app/immich/server/build-lock.json && \
118+
> /app/immich/data/build-lock.json && \
119119
echo "**** download geocoding data ****" && \
120120
curl -o \
121121
/tmp/cities500.zip -L \
122122
"https://download.geonames.org/export/dump/cities500.zip" && \
123123
curl -o \
124-
/app/immich/server/geodata/admin1CodesASCII.txt -L \
124+
/app/immich/data/geodata/admin1CodesASCII.txt -L \
125125
"https://download.geonames.org/export/dump/admin1CodesASCII.txt" && \
126126
curl -o \
127-
/app/immich/server/geodata/admin2Codes.txt -L \
127+
/app/immich/data/geodata/admin2Codes.txt -L \
128128
"https://download.geonames.org/export/dump/admin2Codes.txt" && \
129129
curl -o \
130-
/app/immich/server/geodata/ne_10m_admin_0_countries.geojson -L \
130+
/app/immich/data/geodata/ne_10m_admin_0_countries.geojson -L \
131131
"https://raw.githubusercontent.com/nvkelso/natural-earth-vector/v5.1.2/geojson/ne_10m_admin_0_countries.geojson" && \
132132
unzip \
133133
/tmp/cities500.zip -d \
134-
/app/immich/server/geodata && \
135-
date --iso-8601=seconds | tr -d "\n" > /app/immich/server/geodata/geodata-date.txt && \
134+
/app/immich/data/geodata && \
135+
date --iso-8601=seconds | tr -d "\n" > /app/immich/data/geodata/geodata-date.txt && \
136136
echo "**** cleanup ****" && \
137137
apt-get remove -y --purge \
138138
autoconf \

0 commit comments

Comments
 (0)