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