Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP6:GA
rootlesskit
rootlesskit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rootlesskit.spec of Package rootlesskit
# # spec file for package rootlesskit # # Copyright (c) 2023 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/ # %global provider github %global provider_tld com %global project rootless-containers %global repo rootlesskit %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} Name: rootlesskit Version: 1.1.1 Release: 0 Summary: Linux-native fakeroot using user namespaces License: Apache-2.0 URL: https://github.com/rootless-containers/rootlesskit Source: %{name}-%{version}.tar.gz Source1: vendor.tar.gz BuildRequires: golang(API) >= 1.18 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description RootlessKit is a Linux-native implementation of "fake root" using user_namespaces. RootlessKit is intended to run Docker and Kubernetes as an unprivileged user (known as "Rootless mode"), so as to protect the real root on the host from potential container-breakout attacks. %prep %setup -qa1 %build go build -mod=vendor -buildmode=pie -o _output/rootlesskit %{provider_prefix}/cmd/rootlesskit go build -mod=vendor -buildmode=pie -o _output/rootlessctl %{provider_prefix}/cmd/rootlessctl go build -mod=vendor -buildmode=pie -o _output/rootlesskit-docker-proxy %{provider_prefix}/cmd/rootlesskit-docker-proxy %install mkdir -p %{buildroot}%{_bindir}/ install -m 0755 _output/rootlesskit %{buildroot}%{_bindir}/rootlesskit install -m 0755 _output/rootlessctl %{buildroot}%{_bindir}/rootlessctl install -m 0755 _output/rootlesskit-docker-proxy %{buildroot}%{_bindir}/rootlesskit-docker-proxy %files %license LICENSE %doc README.md docs/*.md %{_bindir}/rootlesskit %{_bindir}/rootlessctl %{_bindir}/rootlesskit-docker-proxy %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor