Skip to content

The RUN make build step fails in docker #48

@AbdulrhmnGhanem

Description

@AbdulrhmnGhanem

After pulling the latest updates in https://github.com/kitspace/gitea/tree/rebase-4, the RUN make build step fails with the error

no rule to make target 'modules/public/bindata.go', needed by 'gitea'. stop.

This isn't the case if I run make TAGS="bindata sqlite sqlite_unlock_notify" make build locally.
It also fails when builidng with the original docker file Dockerfile. Though cloning go-gitea/gitea and running docker build doesn't cause this error.

The output of git diff --name-only HEAD upstream/main is shown below, I am not sure what changes can cause this error.

.github/ISSUE_TEMPLATE/bug-report.yaml
.github/ISSUE_TEMPLATE/config.yml
.github/ISSUE_TEMPLATE/feature-request.yaml
.github/ISSUE_TEMPLATE/ui.bug-report.yaml
.github/workflows/sync-fork.yml
Dockerfile
Dockerfile.gitea.dev
routers/api/v1/api.go
routers/api/v1/repo/migrate.go
routers/web/auth/kitspace_auth.go
routers/web/repo/editor.go
routers/web/repo/migrate.go
routers/web/web.go
services/task/task.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions