Skip to content

Commit

Permalink
Fixed an issue with a non-posix command.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-zaroda committed Aug 13, 2024
1 parent b2d534a commit 9a7266a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/templates/draky.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ IMAGE_NAME=$TEMPLATE_DRAKY_NAME
DRAKY_VERSION=$TEMPLATE_DRAKY_VERSION
PROJECT_CONFIG_DIR=.draky
CORE_GLOBAL_CONFIG_PATH=/global-config
DOCKER_SOCKET=/var/run/docker.sock

DRAKY_HOST_UID="${UID}"
DRAKY_HOST_GID="$(id -g)"
DRAKY_GID="$(stat -c '%g' /var/run/docker.sock)"
DRAKY_GID="$(getent group "$(ls -ld $DOCKER_SOCKET | awk '{print $4}')" | cut -d: -f3)"

COLOR_RESET='\033[0m'
#COLOR_BLUE='\033[0;94m'
Expand Down

0 comments on commit 9a7266a

Please sign in to comment.