Skip to content

Commit aad9b4a

Browse files
committed
format
1 parent 4c625c3 commit aad9b4a

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

infra/makefile/build.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"; \

infra/makefile/db.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ db\:secure:
6464

6565
db\: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

6969
db\: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
# -------------------------------------------------------------------------------------------------------------------- #

0 commit comments

Comments
 (0)