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