From 02e52734bedd81580fdd69e9e92b2f991c447dff Mon Sep 17 00:00:00 2001 From: rsteube Date: Sun, 22 Dec 2024 17:22:13 +0100 Subject: [PATCH] set docker user --- .docker/carapace.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.docker/carapace.yaml b/.docker/carapace.yaml index dcc91e71fe..7dc364e25d 100644 --- a/.docker/carapace.yaml +++ b/.docker/carapace.yaml @@ -2,6 +2,7 @@ services: build: &base image: ghcr.io/carapace-sh/carapace command: sh -c 'sh -c "cd /carapace-bin/cmd/carapace && go generate ./... && go build -ldflags=\"-s -w\" ."' + user: 1000:1000 environment: CARAPACE_BRIDGES: zsh,fish,bash TARGET: /carapace-bin/cmd/carapace/carapace @@ -69,13 +70,12 @@ services: lint: <<: *base working_dir: /carapace-bin - command: bash -c 'go run ./cmd/caralint completers/*/cmd/*.go' + command: bash -c 'go run ./cmd/carapace-lint completers/*/cmd/*.go' fmt: <<: *base working_dir: /carapace-bin - # user: 1000:1000 - command: bash -c 'go run ./cmd/carafmt completers/*/cmd/*.go' + command: bash -c 'go run ./cmd/carapace-fmt completers/*/cmd/*.go' volumes: go: