Package Details: docker-registry2-git r2916.a01c71e2-2

Git Clone URL: (read-only, click to copy)
Package Base: docker-registry2-git
Description: Docker Registry 2.0 (aka docker-distibution) implementation to pack, ship, store, and deliver docker images (git version).
Upstream URL:
Keywords: docker docker-registry
Licenses: Apache
Conflicts: docker-registry
Provides: docker-registry
Submitter: krevedko
Maintainer: krevedko
Last Packager: krevedko
Votes: 1
Popularity: 0.146424
First Submitted: 2019-04-11 10:05
Last Updated: 2021-03-18 17:27

Latest Comments

dmorilha commented on 2021-03-04 17:23

@krevedko thank you for spending time investigating!

I made few changes to the PKGBUILD which made it work with the latest go. They compile the registry from the source code, which is what I wanted anyways. With docker phasing out, I might jump and change few things here and there to accommodate my needs.

$ diff {a,b}/PKGBUILD
< _gourl="./$pkgname/cmd/registry"
> _gourl="$__gitroot/cmd/registry"
<   GOPATH="$srcdir"
<   cd $srcdir/$pkgname
<   go install .
<   make bin/registry
>   GOPATH="$srcdir" go get -v ${_gourl}
<   install -Dm644 "$srcdir/$pkgname/cmd/registry/config-example.yml" "$pkgdir/etc/docker-registry/config.yml"
<   sed -e "s@/var/lib/registry@/data/docker-registry@g" \
>   install -Dm644 "$srcdir/src/" "$pkgdir/etc/docker-registry/config.yml"
>   sed -e "s@/var/lib/registry@/var/lib/docker-registry@g" \
<   install -Dm755 "$srcdir/$pkgname/bin/registry" "$pkgdir/usr/bin/docker-registry"
>   install -Dm755 "$srcdir/bin/registry" "$pkgdir/usr/bin/docker-registry"

krevedko commented on 2021-03-04 09:21

@dmorilha Located problem with go-1.16, but NOT with go-1.15. Thanks for report. Opened upstream bug:

dmorilha commented on 2021-03-03 21:17

@krevedko thanks for the quick reply, none of these steps worked in my case :/ I also tried go clean -cache and go clean -modcache .

krevedko commented on 2021-03-03 20:50

@dmorilha Well, I can't reproduce the error. Possibly, you can try to purge src/pkg build directories, or pkgbuild directory itself, or rm -rf ~/.cache/go-build, or something else.

dmorilha commented on 2021-03-03 20:28

This package currently fails to build with the following go get error:

go get: updating to parsing go.mod:
        module declares its path as:
                but was required as:
==> ERROR: A failure occurred in build().

krevedko commented on 2021-01-09 17:24

@maggis Thanks, fixed.

maggis commented on 2021-01-09 16:36

Hi @krevedko, thanks for supplying this package. On updating, config.yml gets overwritten. Could you add backup=(etc/docker-registry/config.yml) to PKGBUILD? Thanks, Marcus