Skip to content

Do not rebuild your dev container now #29252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yp05327 opened this issue Feb 19, 2024 · 3 comments
Closed

Do not rebuild your dev container now #29252

yp05327 opened this issue Feb 19, 2024 · 3 comments

Comments

@yp05327
Copy link
Contributor

yp05327 commented Feb 19, 2024

Description

As we have bump go version to 1.22. I tried to rebuild my dev container.
But the base image of go:1.xx-bullseye image uses the latest git(2.43.1) as default, which will cause a bug mentioned in #29155, after the rebuild I can't run Gitea in dev container any more.

A quick fix is add this in your config file.

"features": {
  "ghcr.io/devcontainers/features/git:1": {
    "version": "2.43.0"
  }
}

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

dev

Database

None

@yp05327 yp05327 changed the title Do not rebuild your dev container which using go:1.22-bullseye image now Do not rebuild your dev container now Feb 19, 2024
@wxiaoguang
Copy link
Contributor

If it is still a problem, there could be a patch like the backport for #29157 : tolerate the git 2.43.1 GIT_FLUSH bug

@yp05327
Copy link
Contributor Author

yp05327 commented Feb 19, 2024

If it is still a problem, there could be a patch like the backport for #29157 : tolerate the git 2.43.1 GIT_FLUSH bug

Updated the description. Manually set the git version in config files is ok.

@yp05327 yp05327 closed this as completed Feb 19, 2024
Copy link

github-actions bot commented Mar 1, 2024

Automatically locked because of our CONTRIBUTING guidelines

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants