Skip to content

Commit

Permalink
Always pull the latest image in the shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zoenglinghou committed Mar 23, 2024
1 parent db8dca6 commit e78800b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions wahoomc-cli
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ MC_DATA_DIR="${DATA_DIR:-$PWD/data/wahooMapsCreatorData}"
mkdir -p "${MC_DATA_DIR}"

docker run --rm -it \
--pull always \
-v "${MC_DATA_DIR}:/root/wahooMapsCreatorData:Z" \
-v "${PWD}:/app:Z" \
ghcr.io/zoenglinghou/wahoo-maps-creator:master \
Expand Down
1 change: 1 addition & 0 deletions wahoomc-gui
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ mkdir -p "${MC_DATA_DIR}"
xhost +"local:podman@"

docker run --rm -it \
--pull always \
-e DISPLAY \
--security-opt=label=type:container_runtime_t \
-v /tmp/.X11-unix:/tmp/.X11-unix \
Expand Down

0 comments on commit e78800b

Please sign in to comment.