Skip to content

fix: add bash package for Makefile - #28

Merged
surrealwolf merged 6 commits into
mainfrom
fix/add-bash-for-makefile
Jan 11, 2026
Merged

surrealwolf merged 6 commits into
mainfrom
fix/add-bash-for-makefile

Conversation

@surrealwolf

Copy link
Copy Markdown
Collaborator

The Makefile uses SHELL := /bin/bash which requires bash to be installed. Alpine Linux doesn't include bash by default, so add it to the apk add command.

Error was: make: /bin/bash: No such file or directory

- Remove git pull step that was causing merge conflicts
- Add --force flag to git push to handle branch divergence
- This allows GitHub to override GitLab branch when they diverge
- Add separate build stage with language-specific images (Go/Python/Node)
- Fix docker login to use --username flag (per GitLab docs)
- Build artifacts are passed to docker build stage via dependencies
- Add DOCKER_TLS_CERTDIR for Docker-in-Docker support
- Run 'make build' before docker build to prepare app assets
- Remove before_script auth generation code
- Rely on DOCKER_AUTH_CONFIG GitLab group variable
- Matches working pattern from proxmox-ve-mcp
The Makefile uses SHELL := /bin/bash which requires bash to be
installed. Alpine Linux doesn't include bash by default, so add it
to the apk add command.
Keep bash package in apk add command which is required by the Makefile.
Keep our changes:
- Harbor proxy image (harbor.dataknife.net/dockerhub/library/golang:1.23-alpine)
- bash package in apk add (required by Makefile)
@surrealwolf
surrealwolf merged commit 75f54b6 into main Jan 11, 2026
8 checks passed
@surrealwolf
surrealwolf deleted the fix/add-bash-for-makefile branch January 11, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant