Skip to content

Commit

Permalink
Allow run script to run outside docker container
Browse files Browse the repository at this point in the history
This is required for running on Kubernetes
  • Loading branch information
j3soon committed Feb 22, 2024
1 parent 619527c commit beb83cd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/docker/run.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/bin/bash -e

if [ ! -f "/.dockerenv" ]; then
echo "Error: Not running inside a Docker container."
exit 1
fi

show_help() {
echo -e "\nUsage: $0 [OPTIONS] <command>\n"
echo "Options:"
Expand Down

0 comments on commit beb83cd

Please sign in to comment.