-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28a4306
commit eb52b38
Showing
4 changed files
with
24 additions
and
7 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,11 +1,12 @@ | ||
#!/bin/bash | ||
|
||
. ./version.sh | ||
|
||
# Run the basemaps/cli as a docker container with all the extra environment vars and args passed in | ||
docker run \ | ||
--entrypoint node \ | ||
-v ${PWD}:${PWD} \ | ||
-p 5000:5000 \ | ||
-e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -e AWS_REGION -e AWS_DEFAULT_REGION -e BASEMAPS_HOST \ | ||
--rm \ | ||
ghcr.io/linz/basemaps/cli:v7.3.0-1-gf14d0bab \ | ||
ghcr.io/linz/basemaps/cli:${BASEMAPS_VERSION} \ | ||
"$@" |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
. ./version.sh | ||
|
||
# Run the basemaps/cli as a docker container with all the extra environment vars and args passed in | ||
# Specific for the basemaps server cmd with a port 5000 | ||
docker run \ | ||
--name bms | ||
-v ${PWD}:${PWD} \ | ||
-p 5000:5000 \ | ||
-e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -e AWS_REGION -e AWS_DEFAULT_REGION -e BASEMAPS_HOST \ | ||
--rm \ | ||
ghcr.io/linz/basemaps/cli:${BASEMAPS_VERSION} \ | ||
"$@" |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export BASEMAPS_VERSION=v7.3.0-1-gf14d0bab |