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