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