Skip to content

Commit

Permalink
AUS-4233 Make api.tar.gz available for Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf committed Dec 24, 2024
1 parent b7c5cbe commit 1f6a392
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions ui/docker/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,16 @@ done
## wget "https://github.com/AuScope/geomodel-2-3dweb/releases/download/PORTAL_RELEASE_20210718/$GZ_FILE"
#done

# Fetch borehole db from 'geomodels-2-3dweb' repo
if [ ! -d boreholes ]; then
curl -s $RELEASES_URL | jq ".assets | .[] | .browser_download_url" | grep boreholes.tar | xargs wget
tar xvfz boreholes.tar.gz
rm boreholes.tar.gz
fi
## Fetch borehole db from 'geomodels-2-3dweb' repo
#if [ ! -f boreholes.tar.gz ]; then
#curl -s $RELEASES_URL | jq ".assets | .[] | .browser_download_url" | grep boreholes.tar | xargs wget
#tar xvfz boreholes.tar.gz
#rm boreholes.tar.gz
#fi

# Fetch API files from 'geomodels-2-3dweb' repo
if [ ! -d api ]; then
if [ ! -f api.tar.gz ]; then
curl -s $RELEASES_URL | jq ".assets | .[] | .browser_download_url" | grep api.tar | xargs wget
tar xvfz api.tar.gz
rm api.tar.gz
fi

popd

0 comments on commit 1f6a392

Please sign in to comment.