File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11FROM pelias/baseimage
22
3+ # install commands used by bin/download script
4+ RUN apt-get update && \
5+ apt-get install -y jq lbzip2 pigz zstd && \
6+ rm -rf /var/lib/apt/lists/*
7+
38# working directory
49WORKDIR /code
510
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set -euo pipefail
66CONFIG_JSON=$( node -e " console.log(JSON.stringify(require('pelias-config').generate()));" )
77
88# Extract spatial configuration
9- SPATIAL_CONFIG=$( echo " $CONFIG_JSON " | jq ' .imports .spatial // {}' )
9+ SPATIAL_CONFIG=$( echo " $CONFIG_JSON " | jq ' .services .spatial // {}' )
1010if [ " $SPATIAL_CONFIG " = " {}" ] || [ " $SPATIAL_CONFIG " = " null" ]; then
1111 echo " no spatial configuration defined, skipping"
1212 exit 0
You can’t perform that action at this time.
0 commit comments