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