Docker build broken due to dependency dario.cat/mergo missed. dario.cat domain has expired. #13091

Closed
opened 2025-11-02 10:30:20 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @vsysoev on GitHub (Jun 2, 2024).

Description

Docker build broken due to missed dependency Dario.cat/mergo. Build with cached dependency works fine.

Gitea Version

1.22

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.30.2

Operating System

Linux Debian, All

How are you running Gitea?

docker build --build-arg GITEA_VERSION=v1.22.0 -t dev.sarov.local/integrasdl/gitea:v1.22.0 .

Database

SQLite

Originally created by @vsysoev on GitHub (Jun 2, 2024). ### Description Docker build broken due to missed dependency Dario.cat/mergo. Build with cached dependency works fine. ### Gitea Version 1.22 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.30.2 ### Operating System Linux Debian, All ### How are you running Gitea? docker build --build-arg GITEA_VERSION=v1.22.0 -t dev.sarov.local/integrasdl/gitea:v1.22.0 . ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 10:30:20 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Jun 2, 2024):

It's used by c4390a6424/repository.go (L17)
Maybe we could use https://github.com/darccio/mergo as workaround.

@KN4CK3R commented on GitHub (Jun 2, 2024): It's used by https://github.com/go-git/go-git/blob/c4390a64249356c285c069c6cc833e81539a55d8/repository.go#L17 Maybe we could use https://github.com/darccio/mergo as workaround.
Author
Owner

@silverwind commented on GitHub (Jun 2, 2024):

This shouldn't be an issue when you are using a GOPROXY. Can you check why you aren't using one?

@silverwind commented on GitHub (Jun 2, 2024): This shouldn't be an issue when you are using a GOPROXY. Can you check why you aren't using one?
Author
Owner

@silverwind commented on GitHub (Jun 2, 2024):

Also check if you can reach the default GOPROXY from your build machine:

@silverwind commented on GitHub (Jun 2, 2024): Also check if you can reach the default GOPROXY from your build machine: - https://proxy.golang.org/ - https://sum.golang.org/ - https://index.golang.org/
Author
Owner

@techknowlogick commented on GitHub (Jun 2, 2024):

Thanks for this report. I will close it now as the domain has been renewed, and so using a replace in go.mod is no longer needed.

@techknowlogick commented on GitHub (Jun 2, 2024): Thanks for this report. I will close it now as the domain has been renewed, and so using a replace in go.mod is no longer needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13091