Skip to content

Commit eb3bf62

Browse files
committed
🔨(client) add bin/qcc docker wrapper
The bin/qcc scripts wraps the qcc command call using docker.
1 parent a0079e3 commit eb3bf62

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

bin/qcc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -eo pipefail
4+
5+
declare DOCKER_USER
6+
DOCKER_UID="$(id -u)"
7+
DOCKER_GID="$(id -g)"
8+
DOCKER_USER="${DOCKER_UID}:${DOCKER_GID}"
9+
10+
DOCKER_USER=${DOCKER_USER} \
11+
DOCKER_UID=${DOCKER_UID} \
12+
DOCKER_GID=${DOCKER_GID} \
13+
docker compose run --rm \
14+
client \
15+
qcc "$@"

0 commit comments

Comments
 (0)