Commit Graph

8 Commits

Author SHA1 Message Date
Nalin Dahyabhai 14f19e980b buildah copy: preserve owner info with --from= a container or image
When `buildah copy` is invoked with a `--from` flag, default to
preserving ownerships that were set in the source container or image.
Retain the "set it to 0:0 by default" behavior when `--from` is not
being used.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-06-18 11:22:21 -04:00
Philippe Vlérick e635558d2a fix links to containerignore doc
Signed-off-by: Philippe Vlérick <pvlerick@gmail.com>
2024-03-14 11:07:47 +01:00
Jean-Francois Roy 99cad6ee1a
Implement ADD checksum flag #5135
See https://docs.docker.com/build/dockerfile/release-notes/#160.

Fixes #5135

Signed-off-by: Jean-Francois Roy <jf@devklog.net>
2023-11-13 08:32:22 -08:00
Peter Whittaker af38912583 Replace troff code with markdown in buildah-{copy,add}.1.md
Signed-off-by: Peter Whittaker <PeterWhittaker@SphyrnaSecurity.com>
2023-08-21 12:28:08 -04:00
Aditya R f46ef3b2d7
buildah: support for --retry and --retry-delay for push/pull failures
Allows users to configure `--retry` attempts and `--retry-delay`
duration using two additional flags for commands

* buildah build
* buildah pull
* buildah push
* buildah from
* buildah add
* buildah copy

Closes: https://github.com/containers/buildah/issues/4018

Not sure how we can test retry attempts in CI, but added a test in
tests/bud.bats which verfies we parse and added flag in other options
for sanity parsing checking.

Signed-off-by: Aditya R <arajan@redhat.com>
2022-08-23 12:31:01 +05:30
Erik Sjölund 76e9dbf8a6 [CI:DOCS] Fix typos and improve language
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
2022-01-25 21:55:55 +01:00
Daniel J Walsh 973976a662
De-dockerize the man page as much as possible
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-10-09 08:29:57 -04:00
Daniel J Walsh a9e66ec72b
Add man page for Containerfile and .containerignore
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-09-29 11:19:10 -04:00