File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -352,7 +352,6 @@ services:
352352 working_dir : /app
353353 environment :
354354 CGO_ENABLED : 1
355- PATH : /usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
356355 GOPATH : /go
357356 GOMODCACHE : /go/pkg/mod
358357 GOCACHE : /tmp/go-build
Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ $(CLI_DOCKER_BINARY_HOST): $(CLI_DOCKER_BUILD_INPUTS) | ensure-base-images
7272 @status=0; \
7373 if command -v docker > /dev/null 2>&1 && docker compose version > /dev/null 2>&1 ; then \
7474 printf " Building Docker CLI binary at $( CLI_DOCKER_BINARY_CONTAINER) .\n" ; \
75- docker compose run --rm --no-deps api-runner sh -lc ' /usr/local/go/bin/ go build -o "$(CLI_DOCKER_BINARY_CONTAINER)" ./metal/cli/main.go' || status=$$? ; \
75+ docker compose run --rm --no-deps api-runner sh -lc ' go build -o "$(CLI_DOCKER_BINARY_CONTAINER)" ./metal/cli/main.go' || status=$$? ; \
7676 elif command -v docker-compose > /dev/null 2>&1 ; then \
7777 printf " Building Docker CLI binary at $( CLI_DOCKER_BINARY_CONTAINER) .\n" ; \
78- docker-compose run --rm --no-deps api-runner sh -lc ' /usr/local/go/bin/ go build -o "$(CLI_DOCKER_BINARY_CONTAINER)" ./metal/cli/main.go' || status=$$? ; \
78+ docker-compose run --rm --no-deps api-runner sh -lc ' go build -o "$(CLI_DOCKER_BINARY_CONTAINER)" ./metal/cli/main.go' || status=$$? ; \
7979 else \
8080 printf " \n$( RED) ❌ Neither 'docker compose' nor 'docker-compose' is available.$( NC) \n" ; \
8181 printf " Install Docker Compose or run the CLI locally without containers.\n\n" ; \
Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ db\:secure:
6464
6565db\ :seed:
6666 docker compose --env-file ./.env run --rm $(DB_MIGRATE_DOCKER_ENV_FLAGS ) $(DB_API_RUNNER_SERVICE ) \
67- /usr/local/go/bin/ go run ./database/seeder/main.go
67+ go run ./database/seeder/main.go
6868
6969db\ :import:
7070 @if [ ! -f " ./storage/sql/dump.sql" ]; then \
7171 echo " db:import requires ./storage/sql/dump.sql" ; \
7272 exit 1; \
7373 fi
7474 docker compose --env-file ./.env run --rm $(DB_MIGRATE_DOCKER_ENV_FLAGS ) $(DB_API_RUNNER_SERVICE ) \
75- /usr/local/go/bin/ go run ./database/seeder/importer/cmd
75+ go run ./database/seeder/importer/cmd
7676# -------------------------------------------------------------------------------------------------------------------- #
7777# --- Migrations
7878# -------------------------------------------------------------------------------------------------------------------- #
You can’t perform that action at this time.
0 commit comments