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