ccd891
%global with_debug 1
ccd891
%global with_bundled 1
ccd891
ccd891
%if 0%{?with_debug}
ccd891
%global _find_debuginfo_dwz_opts %{nil}
ccd891
%global _dwz_low_mem_die_limit 0
ccd891
%else
ccd891
%global debug_package %{nil}
ccd891
%endif
ccd891
ccd891
%if 0%{?rhel} > 7 && ! 0%{?fedora}
ccd891
%define gobuild(o:) \
ccd891
go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
ccd891
%endif
ccd891
ccd891
%global provider github
ccd891
%global provider_tld com
ccd891
%global project containers
ccd891
%global repo buildah
ccd891
# https://github.com/containers/buildah
ccd891
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
ccd891
%global git0 https://%{import_path}
ccd891
%global commit0 9513cb8c7bec0f7789c696aee4d252ebf85194cc
ccd891
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
ccd891
ccd891
Name: %{repo}
ccd891
Version: 1.11.6
5d665c
Release: 8%{?dist}
ccd891
Summary: A command line tool used for creating OCI Images
ccd891
License: ASL 2.0
ccd891
URL: https://%{name}.io
5d665c
# Build fails with: No matching package to install: 'golang >= 1.12.12-4' on i686
5d665c
ExcludeArch: i686
ccd891
Source: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
ccd891
Patch0: https://patch-diff.githubusercontent.com/raw/containers/buildah/pull/1996.patch
6810df
# https://bugzilla.redhat.com/show_bug.cgi?id=1784952
6810df
Patch1: https://patch-diff.githubusercontent.com/raw/containers/buildah/pull/2031.patch
6810df
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1702
6810df
# https://github.com/containers/buildah/commit/be1eb6f70fb40e45096b69aeb048d54c526a4a8f.patch
6810df
Patch2: CVE-2020-1702-1801930.patch
6810df
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1756986
6810df
# backported:  https://patch-diff.githubusercontent.com/raw/containers/buildah/pull/2181.patch
6810df
Patch3: buildah-1756986.patch
6810df
# tracker bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10696
6810df
# patch:       https://github.com/containers/buildah/commit/c61925b8936e93a5e900f91b653a846f7ea3a9ed.patch
6810df
Patch4: buildah-CVE-2020-10696.patch
ccd891
BuildRequires: golang >= 1.12.12-4
ccd891
BuildRequires: git
ccd891
BuildRequires: glib2-devel
ccd891
BuildRequires: libseccomp-devel
ccd891
BuildRequires: ostree-devel
ccd891
BuildRequires: glibc-static
ccd891
BuildRequires: go-md2man
ccd891
BuildRequires: gpgme-devel
ccd891
BuildRequires: device-mapper-devel
ccd891
BuildRequires: libassuan-devel
ccd891
BuildRequires: make
ccd891
Requires: runc >= 1.0.0-26
ccd891
Requires: containers-common
ccd891
Requires: container-selinux
ccd891
Requires: slirp4netns >= 0.3-0
ccd891
ccd891
%description
ccd891
The %{name} package provides a command line tool which can be used to
ccd891
* create a working container from scratch
ccd891
or
ccd891
* create a working container from an image as a starting point
ccd891
* mount/umount a working container's root file system for manipulation
ccd891
* save container's root file system layer to create a new image
ccd891
* delete a working container or an image
ccd891
ccd891
%package tests
ccd891
Summary: Tests for %{name}
ccd891
Requires: %{name} = %{version}-%{release}
ccd891
Requires: bzip2
ccd891
Requires: podman
ccd891
Requires: golang
ccd891
ccd891
%description tests
ccd891
%{summary}
ccd891
ccd891
This package contains system tests for %{name}
ccd891
ccd891
%prep
ccd891
%autosetup -Sgit -n %{name}-%{commit0}
ccd891
sed -i 's/GOMD2MAN =/GOMD2MAN ?=/' docs/Makefile
ccd891
sed -i '/docs install/d' Makefile
ccd891
ccd891
%build
ccd891
mkdir _build
ccd891
pushd _build
ccd891
mkdir -p src/%{provider}.%{provider_tld}/%{project}
ccd891
ln -s $(dirs +1 -l) src/%{import_path}
ccd891
popd
ccd891
ccd891
mv vendor src
ccd891
ccd891
export GOPATH=$(pwd)/_build:$(pwd)
ccd891
export BUILDTAGS='seccomp selinux btrfs_noversion exclude_graphdriver_btrfs'
ccd891
export GO111MODULE=off
ccd891
rm -f src/github.com/containers/storage/drivers/register/register_btrfs.go
ccd891
%gobuild -o %{name} %{import_path}/cmd/%{name}
ccd891
%gobuild -o imgtype %{import_path}/tests/imgtype
ccd891
GOMD2MAN=go-md2man %{__make} -C docs
ccd891
ccd891
%install
ccd891
export GOPATH=$(pwd)/_build:$(pwd):%{gopath}
ccd891
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install install.completions
ccd891
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
ccd891
cp -pav tests/. %{buildroot}/%{_datadir}/%{name}/test/system
ccd891
cp imgtype %{buildroot}/%{_bindir}/%{name}-imgtype
ccd891
make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install
ccd891
ccd891
#define license tag if not already defined
ccd891
%{!?_licensedir:%global license %doc}
ccd891
ccd891
%files
ccd891
%license LICENSE
ccd891
%doc README.md
ccd891
%{_bindir}/%{name}
ccd891
%{_mandir}/man1/%{name}*
ccd891
%dir %{_datadir}/bash-completion
ccd891
%dir %{_datadir}/bash-completion/completions
ccd891
%{_datadir}/bash-completion/completions/%{name}
ccd891
ccd891
%files tests
ccd891
%license LICENSE
ccd891
%{_bindir}/%{name}-imgtype
ccd891
%{_datadir}/%{name}/test
ccd891
ccd891
%changelog
5d665c
* Thu Jul 16 2020 Jindrich Novy <jnovy@redhat.com> - 1.11.6-8
5d665c
- exclude i686 arch
5d665c
- Related: #1821193
5d665c
6810df
* Wed Apr 01 2020 Jindrich Novy <jnovy@redhat.com> - 1.11.6-7
6810df
- fix "CVE-2020-10696 buildah: crafted input tar file may lead to local file overwriting during image build process"
6810df
- Resolves: #1819393
6810df
6810df
* Mon Feb 24 2020 Jindrich Novy <jnovy@redhat.com> - 1.11.6-6
6810df
- fix "COPY command takes long time with buildah"
6810df
- Resolves: #1806118
6810df
6810df
* Mon Feb 17 2020 Jindrich Novy <jnovy@redhat.com> - 1.11.6-5
6810df
- fix CVE-2020-1702
6810df
- Resolves: #1801930
6810df
- adding the first phase of FIPS fix
6810df
- Related: #1784952
6810df
ccd891
* Wed Dec 11 2019 Jindrich Novy <jnovy@redhat.com> - 1.11.6-4
ccd891
- compile in FIPS mode
ccd891
- Related: RHELPLAN-25139
ccd891
ccd891
* Mon Dec 09 2019 Jindrich Novy <jnovy@redhat.com> - 1.11.6-3
ccd891
- be sure to use golang >= 1.12.12-4
ccd891
- Related: RHELPLAN-25139
ccd891
ccd891
* Sat Dec 07 2019 Jindrich Novy <jnovy@redhat.com> - 1.11.6-2
ccd891
- fix chroot: unmount with MNT_DETACH instead of UnmountMountpoints()
ccd891
- bug reference 1772179
ccd891
- Related: RHELPLAN-25139
ccd891
ccd891
* Thu Dec 05 2019 Jindrich Novy <jnovy@redhat.com> - 1.11.6-1
ccd891
- update to buildah 1.11.6
ccd891
- Related: RHELPLAN-25139
ccd891
ccd891
* Thu Nov 21 2019 Jindrich Novy <jnovy@redhat.com> - 1.11.5-1
ccd891
- update to buildah 1.11.5
ccd891
- Related: RHELPLAN-25139
ccd891
ccd891
* Thu Nov 07 2019 Jindrich Novy <jnovy@redhat.com> - 1.11.4-2
ccd891
- fix %%gobuild macro to not to ignore BUILDTAGS
ccd891
- Related: RHELPLAN-25139
ccd891
ccd891
* Thu Nov 07 2019 Jindrich Novy <jnovy@redhat.com> - 1.11.4-1
ccd891
- update to 1.11.4
ccd891
- Related: RHELPLAN-25139
ccd891
ccd891
* Tue Sep 17 2019 Jindrich Novy <jnovy@redhat.com> - 1.9.0-5
ccd891
- Use autosetup macro again.
ccd891
ccd891
* Thu Sep 12 2019 Jindrich Novy <jnovy@redhat.com> - 1.9.0-4
ccd891
- Fix CVE-2019-10214 (#1734653).
ccd891
ccd891
* Sat Jun 15 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.9.0-3
ccd891
- Resolves: #1721247 - enable fips mode
ccd891
ccd891
* Sat Jun 15 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.9.0-2
ccd891
- Resolves: #1720654 - tests subpackage depends on golang explicitly
ccd891
ccd891
* Sat Jun 15 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.9.0-1
ccd891
- Resolves: #1720654 - rebase to v1.9.0
ccd891
ccd891
* Fri Jun 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.8.3-1
ccd891
- Resolves: #1720654 - rebase to v1.8.3
ccd891
ccd891
* Tue Apr  9 2019 Eduardo Santiago <santiago@redhat.com> - 1.8-0.git021d607
ccd891
- package system tests
ccd891
ccd891
* Tue Dec 18 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.5-3.gite94b4f9
ccd891
- re-enable debuginfo
ccd891
ccd891
* Mon Dec 17 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.5-2.gite94b4f9
ccd891
- go toolset not in scl anymore
ccd891
ccd891
* Fri Nov 23 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.5-1.gite94b4f9
ccd891
- rebase
ccd891
ccd891
* Mon Nov 19 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.4-3.git608fa84
ccd891
- fedora-like go compiler macro in buildrequires is enough
ccd891
ccd891
* Wed Oct 10 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.4-2.git608fa84
ccd891
- rebase
ccd891
ccd891
* Mon Aug 13 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1.3-3.git4888163
ccd891
- Resolves: #1615611 - rebuild with gobuild tag 'no_openssl'
ccd891
ccd891
* Wed Aug 08 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1.3-2.git4888163
ccd891
- Resolves: #1614009 - built with updated scl-ized go-toolset dep
ccd891
- build with %%gobuild
ccd891
ccd891
* Sun Aug 5 2018 Dan Walsh <dwalsh@redhat.com> - 1.3-1
ccd891
- Bump to v1.3
ccd891
- Vendor in lates containers/image
ccd891
- build-using-dockerfile: let -t include transports again
ccd891
- Block use of /proc/acpi and /proc/keys from inside containers
ccd891
- Fix handling of --registries-conf
ccd891
- Fix becoming a maintainer link
ccd891
- add optional CI test fo darwin
ccd891
- Don't pass a nil error to errors.Wrapf()
ccd891
- image filter test: use kubernetes/pause as a "since"
ccd891
- Add --cidfile option to from
ccd891
- vendor: update containers/storage
ccd891
- Contributors need to find the CONTRIBUTOR.md file easier
ccd891
- Add a --loglevel option to build-with-dockerfile
ccd891
- Create Development plan
ccd891
- cmd: Code improvement
ccd891
- allow buildah cross compile for a darwin target
ccd891
- Add unused function param lint check
ccd891
- docs: Follow man-pages(7) suggestions for SYNOPSIS
ccd891
- Start using github.com/seccomp/containers-golang
ccd891
- umount: add all option to umount all mounted containers
ccd891
- runConfigureNetwork(): remove an unused parameter
ccd891
- Update github.com/opencontainers/selinux
ccd891
- Fix buildah bud --layers
ccd891
- Force ownership of /etc/hosts and /etc/resolv.conf to 0:0
ccd891
- main: if unprivileged, reexec in a user namespace
ccd891
- Vendor in latest imagebuilder
ccd891
- Reduce the complexity of the buildah.Run function
ccd891
- mount: output it before replacing lastError
ccd891
- Vendor in latest selinux-go code
ccd891
- Implement basic recognition of the "--isolation" option
ccd891
- Run(): try to resolve non-absolute paths using $PATH
ccd891
- Run(): don't include any default environment variables
ccd891
- build without seccomp
ccd891
- vendor in latest runtime-tools
ccd891
- bind/mount_unsupported.go: remove import errors
ccd891
- Update github.com/opencontainers/runc
ccd891
- Add Capabilities lists to BuilderInfo
ccd891
- Tweaks for commit tests
ccd891
- commit: recognize committing to second storage locations
ccd891
- Fix ARGS parsing for run commands
ccd891
- Add info on registries.conf to from manpage
ccd891
- Switch from using docker to podman for testing in .papr
ccd891
- buildah: set the HTTP User-Agent
ccd891
- ONBUILD tutorial
ccd891
- Add information about the configuration files to the install docs
ccd891
- Makefile: add uninstall
ccd891
- Add tilde info for push to troubleshooting
ccd891
- mount: support multiple inputs
ccd891
- Use the right formatting when adding entries to /etc/hosts
ccd891
- Vendor in latest go-selinux bindings
ccd891
- Allow --userns-uid-map/--userns-gid-map to be global options
ccd891
- bind: factor out UnmountMountpoints
ccd891
- Run(): simplify runCopyStdio()
ccd891
- Run(): handle POLLNVAL results
ccd891
- Run(): tweak terminal mode handling
ccd891
- Run(): rename 'copyStdio' to 'copyPipes'
ccd891
- Run(): don't set a Pdeathsig for the runtime
ccd891
- Run(): add options for adding and removing capabilities
ccd891
- Run(): don't use a callback when a slice will do
ccd891
- setupSeccomp(): refactor
ccd891
- Change RunOptions.Stdin/Stdout/Stderr to just be Reader/Writers
ccd891
- Escape use of '_' in .md docs
ccd891
- Break out getProcIDMappings()
ccd891
- Break out SetupIntermediateMountNamespace()
ccd891
- Add Multi From Demo
ccd891
- Use the c/image conversion code instead of converting configs manually
ccd891
- Don't throw away the manifest MIME type and guess again
ccd891
- Consolidate loading manifest and config in initConfig
ccd891
- Pass a types.Image to Builder.initConfig
ccd891
- Require an image ID in importBuilderDataFromImage
ccd891
- Use c/image/manifest.GuessMIMEType instead of a custom heuristic
ccd891
- Do not ignore any parsing errors in initConfig
ccd891
- Explicitly handle "from scratch" images in Builder.initConfig
ccd891
- Fix parsing of OCI images
ccd891
- Simplify dead but dangerous-looking error handling
ccd891
- Don't ignore v2s1 history if docker_version is not set
ccd891
- Add --rm and --force-rm to buildah bud
ccd891
- Add --all,-a flag to buildah images
ccd891
- Separate stdio buffering from writing
ccd891
- Remove tty check from images --format
ccd891
- Add environment variable BUILDAH_RUNTIME
ccd891
- Add --layers and --no-cache to buildah bud
ccd891
- Touch up images man
ccd891
- version.md: fix DESCRIPTION
ccd891
- tests: add containers test
ccd891
- tests: add images test
ccd891
- images: fix usage
ccd891
- fix make clean error
ccd891
- Change 'registries' to 'container registries' in man
ccd891
- add commit test
ccd891
- Add(): learn to record hashes of what we add
ccd891
- Minor update to buildah config documentation for entrypoint
ccd891
- Bump to v1.2-dev
ccd891
- Add registries.conf link to a few man pages
ccd891
ccd891
* Tue Jul 24 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1.2-3
ccd891
- do not depend on btrfs-progs for rhel8
ccd891
ccd891
* Thu Jul 19 2018 Dan Walsh <dwalsh@redhat.com> - 1.2-2
ccd891
- buildah does not require ostree
ccd891
ccd891
* Sun Jul 15 2018 Dan Walsh <dwalsh@redhat.com> 1.2-1
ccd891
- Vendor in latest containers/image
ccd891
- build-using-dockerfile: let -t include transports again
ccd891
- Block use of /proc/acpi and /proc/keys from inside containers
ccd891
- Fix handling of --registries-conf
ccd891
- Fix becoming a maintainer link
ccd891
- add optional CI test fo darwin
ccd891
- Don't pass a nil error to errors.Wrapf()
ccd891
- image filter test: use kubernetes/pause as a "since"
ccd891
- Add --cidfile option to from
ccd891
- vendor: update containers/storage
ccd891
- Contributors need to find the CONTRIBUTOR.md file easier
ccd891
- Add a --loglevel option to build-with-dockerfile
ccd891
- Create Development plan
ccd891
- cmd: Code improvement
ccd891
- allow buildah cross compile for a darwin target
ccd891
- Add unused function param lint check
ccd891
- docs: Follow man-pages(7) suggestions for SYNOPSIS
ccd891
- Start using github.com/seccomp/containers-golang
ccd891
- umount: add all option to umount all mounted containers
ccd891
- runConfigureNetwork(): remove an unused parameter
ccd891
- Update github.com/opencontainers/selinux
ccd891
- Fix buildah bud --layers
ccd891
- Force ownership of /etc/hosts and /etc/resolv.conf to 0:0
ccd891
- main: if unprivileged, reexec in a user namespace
ccd891
- Vendor in latest imagebuilder
ccd891
- Reduce the complexity of the buildah.Run function
ccd891
- mount: output it before replacing lastError
ccd891
- Vendor in latest selinux-go code
ccd891
- Implement basic recognition of the "--isolation" option
ccd891
- Run(): try to resolve non-absolute paths using $PATH
ccd891
- Run(): don't include any default environment variables
ccd891
- build without seccomp
ccd891
- vendor in latest runtime-tools
ccd891
- bind/mount_unsupported.go: remove import errors
ccd891
- Update github.com/opencontainers/runc
ccd891
- Add Capabilities lists to BuilderInfo
ccd891
- Tweaks for commit tests
ccd891
- commit: recognize committing to second storage locations
ccd891
- Fix ARGS parsing for run commands
ccd891
- Add info on registries.conf to from manpage
ccd891
- Switch from using docker to podman for testing in .papr
ccd891
- buildah: set the HTTP User-Agent
ccd891
- ONBUILD tutorial
ccd891
- Add information about the configuration files to the install docs
ccd891
- Makefile: add uninstall
ccd891
- Add tilde info for push to troubleshooting
ccd891
- mount: support multiple inputs
ccd891
- Use the right formatting when adding entries to /etc/hosts
ccd891
- Vendor in latest go-selinux bindings
ccd891
- Allow --userns-uid-map/--userns-gid-map to be global options
ccd891
- bind: factor out UnmountMountpoints
ccd891
- Run(): simplify runCopyStdio()
ccd891
- Run(): handle POLLNVAL results
ccd891
- Run(): tweak terminal mode handling
ccd891
- Run(): rename 'copyStdio' to 'copyPipes'
ccd891
- Run(): don't set a Pdeathsig for the runtime
ccd891
- Run(): add options for adding and removing capabilities
ccd891
- Run(): don't use a callback when a slice will do
ccd891
- setupSeccomp(): refactor
ccd891
- Change RunOptions.Stdin/Stdout/Stderr to just be Reader/Writers
ccd891
- Escape use of '_' in .md docs
ccd891
- Break out getProcIDMappings()
ccd891
- Break out SetupIntermediateMountNamespace()
ccd891
- Add Multi From Demo
ccd891
- Use the c/image conversion code instead of converting configs manually
ccd891
- Don't throw away the manifest MIME type and guess again
ccd891
- Consolidate loading manifest and config in initConfig
ccd891
- Pass a types.Image to Builder.initConfig
ccd891
- Require an image ID in importBuilderDataFromImage
ccd891
- Use c/image/manifest.GuessMIMEType instead of a custom heuristic
ccd891
- Do not ignore any parsing errors in initConfig
ccd891
- Explicitly handle "from scratch" images in Builder.initConfig
ccd891
- Fix parsing of OCI images
ccd891
- Simplify dead but dangerous-looking error handling
ccd891
- Don't ignore v2s1 history if docker_version is not set
ccd891
- Add --rm and --force-rm to buildah bud
ccd891
- Add --all,-a flag to buildah images
ccd891
- Separate stdio buffering from writing
ccd891
- Remove tty check from images --format
ccd891
- Add environment variable BUILDAH_RUNTIME
ccd891
- Add --layers and --no-cache to buildah bud
ccd891
- Touch up images man
ccd891
- version.md: fix DESCRIPTION
ccd891
- tests: add containers test
ccd891
- tests: add images test
ccd891
- images: fix usage
ccd891
- fix make clean error
ccd891
- Change 'registries' to 'container registries' in man
ccd891
- add commit test
ccd891
- Add(): learn to record hashes of what we add
ccd891
- Minor update to buildah config documentation for entrypoint
ccd891
- Add registries.conf link to a few man pages
ccd891
ccd891
* Sun Jun 10 2018 Dan Walsh <dwalsh@redhat.com> 1.1-1
ccd891
- Drop capabilities if running container processes as non root
ccd891
- Print Warning message if cmd will not be used based on entrypoint
ccd891
- Update 01-intro.md
ccd891
- Shouldn't add insecure registries to list of search registries
ccd891
- Report errors on bad transports specification when pushing images
ccd891
- Move parsing code out of common for namespaces and into pkg/parse.go
ccd891
- Add disable-content-trust noop flag to bud
ccd891
- Change freenode chan to buildah
ccd891
- runCopyStdio(): don't close stdin unless we saw POLLHUP
ccd891
- Add registry errors for pull
ccd891
- runCollectOutput(): just read until the pipes are closed on us
ccd891
- Run(): provide redirection for stdio
ccd891
- rmi, rm: add test
ccd891
- add mount test
ccd891
- Add parameter judgment for commands that do not require parameters
ccd891
- Add context dir to bud command in baseline test
ccd891
- run.bats: check that we can run with symlinks in the bundle path
ccd891
- Give better messages to users when image can not be found
ccd891
- use absolute path for bundlePath
ccd891
- Add environment variable to buildah --format
ccd891
- rm: add validation to args and all option
ccd891
- Accept json array input for config entrypoint
ccd891
- Run(): process RunOptions.Mounts, and its flags
ccd891
- Run(): only collect error output from stdio pipes if we created some
ccd891
- Add OnBuild support for Dockerfiles
ccd891
- Quick fix on demo readme
ccd891
- run: fix validate flags
ccd891
- buildah bud should require a context directory or URL
ccd891
- Touchup tutorial for run changes
ccd891
- Validate common bud and from flags
ccd891
- images: Error if the specified imagename does not exist
ccd891
- inspect: Increase err judgments to avoid panic
ccd891
- add test to inspect
ccd891
- buildah bud picks up ENV from base image
ccd891
- Extend the amount of time travis_wait should wait
ccd891
- Add a make target for Installing CNI plugins
ccd891
- Add tests for namespace control flags
ccd891
- copy.bats: check ownerships in the container
ccd891
- Fix SELinux test errors when SELinux is enabled
ccd891
- Add example CNI configurations
ccd891
- Run: set supplemental group IDs
ccd891
- Run: use a temporary mount namespace
ccd891
- Use CNI to configure container networks
ccd891
- add/secrets/commit: Use mappings when setting permissions on added content
ccd891
- Add CLI options for specifying namespace and cgroup setup
ccd891
- Always set mappings when using user namespaces
ccd891
- Run(): break out creation of stdio pipe descriptors
ccd891
- Read UID/GID mapping information from containers and images
ccd891
- Additional bud CI tests
ccd891
- Run integration tests under travis_wait in Travis
ccd891
- build-using-dockerfile: add --annotation
ccd891
- Implement --squash for build-using-dockerfile and commit
ccd891
- Vendor in latest container/storage for devicemapper support
ccd891
- add test to inspect
ccd891
- Vendor github.com/onsi/ginkgo and github.com/onsi/gomega
ccd891
- Test with Go 1.10, too
ccd891
- Add console syntax highlighting to troubleshooting page
ccd891
- bud.bats: print "$output" before checking its contents
ccd891
- Manage "Run" containers more closely
ccd891
- Break Builder.Run()'s "run runc" bits out
ccd891
- util.ResolveName(): handle completion for tagged/digested image names
ccd891
- Handle /etc/hosts and /etc/resolv.conf properly in container
ccd891
- Documentation fixes
ccd891
- Make it easier to parse our temporary directory as an image name
ccd891
- Makefile: list new pkg/ subdirectoris as dependencies for buildah
ccd891
- containerImageSource: return more-correct errors
ccd891
- API cleanup: PullPolicy and TerminalPolicy should be types
ccd891
- Make "run --terminal" and "run -t" aliases for "run --tty"
ccd891
- Vendor github.com/containernetworking/cni v0.6.0
ccd891
- Update github.com/containers/storage
ccd891
- Update github.com/projectatomic/libpod
ccd891
- Add support for buildah bud --label
ccd891
- buildah push/from can push and pull images with no reference
ccd891
- Vendor in latest containers/image
ccd891
- Update gometalinter to fix install.tools error
ccd891
- Update troubleshooting with new run workaround
ccd891
- Added a bud demo and tidied up
ccd891
- Attempt to download file from url, if fails assume Dockerfile
ccd891
- Add buildah bud CI tests for ENV variables
ccd891
- Re-enable rpm .spec version check and new commit test
ccd891
- Update buildah scratch demo to support el7
ccd891
- Added Docker compatibility demo
ccd891
- Update to F28 and new run format in baseline test
ccd891
- Touchup man page short options across man pages
ccd891
- Added demo dir and a demo. chged distrorlease
ccd891
- builder-inspect: fix format option
ccd891
- Add cpu-shares short flag (-c) and cpu-shares CI tests
ccd891
- Minor fixes to formatting in rpm spec changelog
ccd891
- Fix rpm .spec changelog formatting
ccd891
- CI tests and minor fix for cache related noop flags
ccd891
- buildah-from: add effective value to mount propagation
ccd891
ccd891
* Mon May 7 2018 Dan Walsh <dwalsh@redhat.com> 1.0-1
ccd891
- Remove buildah run cmd and entrypoint execution
ccd891
- Add Files section with registries.conf to pertinent man pages
ccd891
- Force "localhost" as a default registry
ccd891
- Add --compress, --rm, --squash flags as a noop for bud
ccd891
- Add FIPS mode secret to buildah run and bud
ccd891
- Add config --comment/--domainname/--history-comment/--hostname
ccd891
- Add support for --iidfile to bud and commit
ccd891
- Add /bin/sh -c to entrypoint in config
ccd891
- buildah images and podman images are listing different sizes
ccd891
- Remove tarball as an option from buildah push --help
ccd891
- Update entrypoint behaviour to match docker
ccd891
- Display imageId after commit
ccd891
- config: add support for StopSignal
ccd891
- Allow referencing stages as index and names
ccd891
- Add multi-stage builds support
ccd891
- Vendor in latest imagebuilder, to get mixed case AS support
ccd891
- Allow umount to have multi-containers
ccd891
- Update buildah push doc
ccd891
- buildah bud walks symlinks
ccd891
- Imagename is required for commit atm, update manpage
ccd891
ccd891
* Thu May 03 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.16-3.git532e267
ccd891
- Resolves: #1573681
ccd891
- built commit 532e267
ccd891
ccd891
* Tue Apr 10 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.16.0-2.git6f7d05b
ccd891
- built commit 6f7d05b
ccd891
ccd891
* Wed Apr 4 2018 Dan Walsh <dwalsh@redhat.com> 0.16-1
ccd891
-   Add support for shell
ccd891
-   Vendor in latest containers/image
ccd891
-    	 docker-archive generates docker legacy compatible images
ccd891
-	 Do not create $DiffID subdirectories for layers with no configs
ccd891
- 	 Ensure the layer IDs in legacy docker/tarfile metadata are unique
ccd891
-	 docker-archive: repeated layers are symlinked in the tar file
ccd891
-	 sysregistries: remove all trailing slashes
ccd891
-	 Improve docker/* error messages
ccd891
-	 Fix failure to make auth directory
ccd891
-	 Create a new slice in Schema1.UpdateLayerInfos
ccd891
-	 Drop unused storageImageDestination.{image,systemContext}
ccd891
-	 Load a *storage.Image only once in storageImageSource
ccd891
-	 Support gzip for docker-archive files
ccd891
-	 Remove .tar extension from blob and config file names
ccd891
-	 ostree, src: support copy of compressed layers
ccd891
-	 ostree: re-pull layer if it misses uncompressed_digest|uncompressed_size
ccd891
-	 image: fix docker schema v1 -> OCI conversion
ccd891
-	 Add /etc/containers/certs.d as default certs directory
ccd891
-  Change image time to locale, add troubleshooting.md, add logo to other mds
ccd891
-   Allow --cmd parameter to have commands as values
ccd891
-   Document the mounts.conf file
ccd891
-   Fix man pages to format correctly
ccd891
-   buildah from now supports pulling images using the following transports:
ccd891
-   docker-archive, oci-archive, and dir.
ccd891
-   If the user overrides the storage driver, the options should be dropped
ccd891
-   Show Config/Manifest as JSON string in inspect when format is not set
ccd891
-   Adds feature to pull compressed docker-archive files
ccd891
ccd891
* Tue Feb 27 2018 Dan Walsh <dwalsh@redhat.com> 0.15-1
ccd891
- Fix handling of buildah run command options
ccd891
ccd891
* Mon Feb 26 2018 Dan Walsh <dwalsh@redhat.com> 0.14-1
ccd891
- If commonOpts do not exist, we should return rather then segfault
ccd891
- Display full error string instead of just status
ccd891
- Implement --volume and --shm-size for bud and from
ccd891
- Fix secrets patch for buildah bud
ccd891
- Fixes the naming issue of blobs and config for the dir transport by removing the .tar extension
ccd891
ccd891
* Mon Feb 26 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.13-1.git99066e0
ccd891
- use correct version
ccd891
ccd891
* Mon Feb 26 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.12-4.git99066e0
ccd891
- enable debuginfo
ccd891
ccd891
* Mon Feb 26 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.12-3.git99066e0
ccd891
- BR: libseccomp-devel
ccd891
ccd891
* Mon Feb 26 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.12-2.git99066e0
ccd891
- Resolves: #1548535
ccd891
- built commit 99066e0
ccd891
ccd891
* Mon Feb 12 2018 Dan Walsh <dwalsh@redhat.com> 0.12-1
ccd891
- Added handing for simpler error message for Unknown Dockerfile instructions.
ccd891
- Change default certs directory to /etc/containers/certs.dir
ccd891
- Vendor in latest containers/image
ccd891
- Vendor in latest containers/storage
ccd891
- build-using-dockerfile: set the 'author' field for MAINTAINER
ccd891
- Return exit code 1 when buildah-rmi fails
ccd891
- Trim the image reference to just its name before calling getImageName
ccd891
- Touch up rmi -f usage statement
ccd891
- Add --format and --filter to buildah containers
ccd891
- Add --prune,-p option to rmi command
ccd891
- Add authfile param to commit
ccd891
- Fix --runtime-flag for buildah run and bud
ccd891
- format should override quiet for images
ccd891
- Allow all auth params to work with bud
ccd891
- Do not overwrite directory permissions on --chown
ccd891
- Unescape HTML characters output into the terminal
ccd891
- Fix: setting the container name to the image
ccd891
- Prompt for un/pwd if not supplied with --creds
ccd891
- Make bud be really quiet
ccd891
- Return a better error message when failed to resolve an image
ccd891
- Update auth tests and fix bud man page
ccd891
ccd891
* Mon Feb 05 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.11-3.git49095a8
ccd891
- Resolves: #1542236 - add ostree and bump runc dep
ccd891
ccd891
* Thu Feb 01 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.11-2.git49095a8
ccd891
- rebased to 49095a83f8622cf69532352d183337635562e261
ccd891
ccd891
* Tue Jan 16 2018 Dan Walsh <dwalsh@redhat.com> 0.11-1
ccd891
- Add --all to remove containers
ccd891
- Add --all functionality to rmi
ccd891
- Show ctrid when doing rm -all
ccd891
- Ignore sequential duplicate layers when reading v2s1
ccd891
- Lots of minor bug fixes
ccd891
- Vendor in latest containers/image and containers/storage
ccd891
ccd891
* Sat Dec 23 2017 Dan Walsh <dwalsh@redhat.com> 0.10-2
ccd891
- Fix checkin
ccd891
ccd891
* Sat Dec 23 2017 Dan Walsh <dwalsh@redhat.com> 0.10-1
ccd891
- Display Config and Manifest as strings
ccd891
- Bump containers/image
ccd891
- Use configured registries to resolve image names
ccd891
- Update to work with newer image library
ccd891
- Add --chown option to add/copy commands
ccd891
ccd891
* Tue Dec 12 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.9-2.git04ea079
ccd891
- build for all arches
ccd891
ccd891
* Sat Dec 2 2017 Dan Walsh <dwalsh@redhat.com> 0.9-1
ccd891
- Allow push to use the image id
ccd891
- Make sure builtin volumes have the correct label
ccd891
ccd891
* Wed Nov 22 2017 Dan Walsh <dwalsh@redhat.com> 0.8-1
ccd891
- Buildah bud was failing on SELinux machines, this fixes this
ccd891
- Block access to certain kernel file systems inside of the container
ccd891
ccd891
* Thu Nov 16 2017 Dan Walsh <dwalsh@redhat.com> 0.7-1
ccd891
- Ignore errors when trying to read containers buildah.json for loading SELinux reservations
ccd891
-     Use credentials from kpod login for buildah
ccd891
- Adds support for converting manifest types when using the dir transport
ccd891
- Rework how we do UID resolution in images
ccd891
- Bump github.com/vbatts/tar-split
ccd891
- Set option.terminal appropriately in run
ccd891
ccd891
* Thu Nov 16 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.5-5.gitf7dc659
ccd891
- revert building for s390x, it is intended for rhel 7.5
ccd891
ccd891
* Wed Nov 15 2017 Dan Walsh <dwalsh@redhat.com> 0.5-4
ccd891
- Add requires for container-selinux
ccd891
ccd891
* Mon Nov 13 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.5-3.gitf7dc659
ccd891
- build for s390x, https://bugzilla.redhat.com/show_bug.cgi?id=1482234
ccd891
ccd891
* Wed Nov 08 2017 Dan Walsh <dwalsh@redhat.com> 0.5-2
ccd891
-  Bump github.com/vbatts/tar-split
ccd891
-  Fixes CVE That could allow a container image to cause a DOS
ccd891
ccd891
* Tue Nov 07 2017 Dan Walsh <dwalsh@redhat.com> 0.5-1
ccd891
-  Add secrets patch to buildah
ccd891
-  Add proper SELinux labeling to buildah run
ccd891
-  Add tls-verify to bud command
ccd891
-  Make filtering by date use the image's date
ccd891
-  images: don't list unnamed images twice
ccd891
-  Fix timeout issue
ccd891
-  Add further tty verbiage to buildah run
ccd891
-  Make inspect try an image on failure if type not specified
ccd891
-  Add support for `buildah run --hostname`
ccd891
-  Tons of bug fixes and code cleanup
ccd891
ccd891
* Tue Nov  7 2017 Nalin Dahyabhai <nalin@redhat.com> - 0.4-2.git01db066
ccd891
- bump to latest version
ccd891
- set GIT_COMMIT at build-time
ccd891
ccd891
* Fri Sep 22 2017 Dan Walsh <dwalsh@redhat.com> 0.4-1.git9cbccf88c
ccd891
-   Add default transport to push if not provided
ccd891
-   Avoid trying to print a nil ImageReference
ccd891
-   Add authentication to commit and push
ccd891
-   Add information on buildah from man page on transports
ccd891
-   Remove --transport flag
ccd891
-   Run: do not complain about missing volume locations
ccd891
-   Add credentials to buildah from
ccd891
-   Remove export command
ccd891
-   Run(): create the right working directory
ccd891
-   Improve "from" behavior with unnamed references
ccd891
-   Avoid parsing image metadata for dates and layers
ccd891
-   Read the image's creation date from public API
ccd891
-   Bump containers/storage and containers/image
ccd891
-   Don't panic if an image's ID can't be parsed
ccd891
-   Turn on --enable-gc when running gometalinter
ccd891
-   rmi: handle truncated image IDs
ccd891
ccd891
* Fri Sep 22 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.4-1.git9cbccf8
ccd891
- bump to v0.4
ccd891
ccd891
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-4.gitb9b2a8a
ccd891
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ccd891
ccd891
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-3.gitb9b2a8a
ccd891
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ccd891
ccd891
* Thu Jul 20 2017 Dan Walsh <dwalsh@redhat.com> 0.3-2.gitb9b2a8a7e
ccd891
- Bump for inclusion of OCI 1.0 Runtime and Image Spec
ccd891
ccd891
* Tue Jul 18 2017 Dan Walsh <dwalsh@redhat.com> 0.2.0-1.gitac2aad6
ccd891
-   buildah run: Add support for -- ending options parsing
ccd891
-   buildah Add/Copy support for glob syntax
ccd891
-   buildah commit: Add flag to remove containers on commit
ccd891
-   buildah push: Improve man page and help information
ccd891
-   buildah run: add a way to disable PTY allocation
ccd891
-   Buildah docs: clarify --runtime-flag of run command
ccd891
-   Update to match newer storage and image-spec APIs
ccd891
-   Update containers/storage and containers/image versions
ccd891
-   buildah export: add support
ccd891
-   buildah images: update commands
ccd891
-   buildah images: Add JSON output option
ccd891
-   buildah rmi: update commands
ccd891
-   buildah containers: Add JSON output option
ccd891
-   buildah version: add command
ccd891
-   buildah run: Handle run without an explicit command correctly
ccd891
-   Ensure volume points get created, and with perms
ccd891
-   buildah containers: Add a -a/--all option
ccd891
ccd891
* Wed Jun 14 2017 Dan Walsh <dwalsh@redhat.com> 0.1.0-2.git597d2ab9
ccd891
- Release Candidate 1
ccd891
- All features have now been implemented.
ccd891
ccd891
* Fri Apr 14 2017 Dan Walsh <dwalsh@redhat.com> 0.0.1-1.git7a0a5333
ccd891
- First package for Fedora