-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from peter-evans/update-nominatim
Update nominatim
- Loading branch information
Showing
3 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
ARG nominatim_version=3.4.2 | ||
|
||
FROM peterevans/xenial-gcloud:1.2.23 as builder | ||
|
||
ENV NOMINATIM_VERSION 3.4.1 | ||
ARG nominatim_version | ||
|
||
# Let the container know that there is no TTY | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
@@ -28,10 +30,10 @@ RUN apt-get -y update \ | |
|
||
# Build Nominatim | ||
RUN cd /srv \ | ||
&& curl --silent -L http://www.nominatim.org/release/Nominatim-$NOMINATIM_VERSION.tar.bz2 -o v$NOMINATIM_VERSION.tar.bz2 \ | ||
&& tar xf v$NOMINATIM_VERSION.tar.bz2 \ | ||
&& rm v$NOMINATIM_VERSION.tar.bz2 \ | ||
&& mv Nominatim-$NOMINATIM_VERSION nominatim \ | ||
&& curl --silent -L http://www.nominatim.org/release/Nominatim-${nominatim_version}.tar.bz2 -o v${nominatim_version}.tar.bz2 \ | ||
&& tar xf v${nominatim_version}.tar.bz2 \ | ||
&& rm v${nominatim_version}.tar.bz2 \ | ||
&& mv Nominatim-${nominatim_version} nominatim \ | ||
&& cd nominatim \ | ||
&& mkdir build \ | ||
&& cd build \ | ||
|
@@ -41,14 +43,17 @@ RUN cd /srv \ | |
|
||
FROM peterevans/xenial-gcloud:1.2.23 | ||
|
||
ARG nominatim_version | ||
|
||
LABEL \ | ||
maintainer="Peter Evans <[email protected]>" \ | ||
org.opencontainers.image.title="nominatim-k8s" \ | ||
org.opencontainers.image.description="Nominatim for Kubernetes on Google Container Engine (GKE)." \ | ||
org.opencontainers.image.authors="Peter Evans <[email protected]>" \ | ||
org.opencontainers.image.url="https://github.com/peter-evans/nominatim-k8s" \ | ||
org.opencontainers.image.vendor="https://peterevans.dev" \ | ||
org.opencontainers.image.licenses="MIT" | ||
org.opencontainers.image.licenses="MIT" \ | ||
app.tag="nominatim${nominatim_version}" | ||
|
||
# Let the container know that there is no TTY | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters