ba869bb4b0
* fix: segmentation fault on arm64 image (#311) * Allow initial LDAP bind with user credentials (#246) (#309) * deprecate v1beta1/Ingress in chart (#306) * document change in tags * Updated helm repository * Update helm chart to 1.7.0 (#305) * update url * have edge build * build on git tag * build docker image on git tag (#304) * periodic go vendor update (#303) * cross-compile docker image to arm * Remove Python and go-bindata (#302) * build with go1.16 (#301) * Support the Casbin authorization method. (#182) * Connect to relational databases using xorm.io (#277) * specify v1.15.x when running build (#297) * Install go-binddata as a global binary (#295) * Create Github action for docker nightlies (#291) * Helm2 to 3 (#292) * Upgrade go deps (#293) * rm compiled binary in repo * Add Github actions for go tests * Move to Python3 * Fix go vet failures * Fix Docker Hub link in README.md (#282) * Fix scope parsing (#274) * Returning the "token"-field (#273) * Add a Redis-based token storage implementation (#220) OBS-URL: https://build.opensuse.org/package/show/devel:kubic/docker_auth?expand=0&rev=9
57 lines
1.7 KiB
RPMSpec
57 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package docker_auth
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: docker_auth
|
|
Version: 1.7.1+git20210707.946490c
|
|
Release: 0
|
|
Summary: Authenticaton for container registry with tokens
|
|
License: Apache-2.0
|
|
URL: https://github.com/cesanta/docker_auth
|
|
Source: docker_auth-%{version}.tar.xz
|
|
BuildRequires: golang(API) >= 1.16
|
|
%ifarch %arm aarch64
|
|
BuildRequires: binutils-gold
|
|
%endif
|
|
|
|
%description
|
|
This package contains a tool to authenticate the access to
|
|
a container registry. Access is granted defined by an access
|
|
control list for every user.
|
|
|
|
%prep
|
|
%setup -q
|
|
rm chart/docker-auth/.helmignore
|
|
chmod 644 chart/docker-auth/templates/*.*
|
|
|
|
%build
|
|
cd auth_server
|
|
# Make the go command working in OBS and on all architectures:
|
|
sed -i -e 's|CGO_ENABLED=0 go build -v --ldflags=--s|go build -mod vendor -buildmode=pie -v|g' -e "s|-extldflags '-static' |-extldflags '-pie' |g" Makefile
|
|
make
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
install -m 755 auth_server/auth_server %{buildroot}%{_sbindir}/
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md chart docs examples
|
|
%{_sbindir}/auth_server
|
|
|
|
%changelog
|