Commit Graph

20 Commits

Author SHA1 Message Date
pixdrift dffb148b31
Update the demos README file to fix minor typos
Signed-off-by: pixdrift <pixdrift@users.noreply.github.com>
2023-05-08 16:25:27 +10:00
Aditya R 404852be4a
demo: use unshare for rootless invocations
Use `buildah unshare` to invoke `buildah mount` when demos are invoked
from rootless environments

* buildah_mult_stage: only unshare on needed steps
* buildah-scratch-demo: unshare entire script since it uses pkg managers
  commands which don't work well in rootless session without unshare.

[NO NEW TESTS NEEDED]

Signed-off-by: Aditya R <arajan@redhat.com>
2022-06-22 16:47:00 +05:30
Daniel J Walsh cfe911a3f0
Change references from master to main
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-06-23 11:03:24 -04:00
Zack Middleton 796a04cc1c Fix URL in demos/buildah_multi_stage.sh
A spelling correction in c7963db changed the URL to a 404 error
page. The actual URL has a typo in it so revert to the misspelling.

Closes #3107

Signed-off-by: Zack Middleton <zack@cloemail.com>
2021-03-27 18:12:29 -04:00
Josh Soref c7963db369 Spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-12-21 16:47:18 -05:00
Daniel J Walsh cd88667465 Ran buildah through codespell
Thanks to Dmitry Smirnov @onlyjob for suggesting this tool.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #1985
Approved by: TomSweeneyRedHat
2019-11-20 17:38:41 +00:00
Daniel J Walsh 59d3331a37
Bump fedora version from 28 to 30
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-09-05 08:47:13 -04:00
Sascha Grunert b288b7a3d9 Update shebangs to take env into consideration
Some operating systems don’t have `bash` in `/bin`, so we should take the
`$PATH` into consideration for searching it.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>

Closes: #1804
Approved by: TomSweeneyRedHat
2019-08-20 11:26:57 +00:00
Matt Dorn 2da8755d53 add -t to podman run
add -t to `podman run` so when user executes this step, they get excited when they see the output of `runecho.sh`.

Signed-off-by: Matt Dorn <mdorn@redhat.com>

Closes: #1651
Approved by: rhatdan
2019-06-07 19:22:27 +00:00
Qi Wang 59da11d4b4 add buildah login/logout & fix authfile path
Fix the bug that buildah reads /var/run/containers.. as authentication file.(in readme files it should be /run/containers/uid).
Add `buildah login`, `buildah logout` to close #1329, enable to use buildah login before running buildah bud for multi-stage bud and avoiding using --creds flag.

Signed-off-by: Qi Wang <qiwan@redhat.com>

Closes: #1501
Approved by: rhatdan
2019-05-02 21:59:12 +00:00
Nalin Dahyabhai 7681e8dd5b Get rid of dangling whitespace in markdown files
Get rid of dangling whitespace in markdown files, and add a quick
validation check to error out if we try to add any new ones.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2018-09-18 17:10:13 -04:00
Daniel J Walsh ba012ddec6
Move buildah from projecatatomic/buildah to containers/buildah
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2018-09-18 08:06:11 -04:00
Zhou Hao fcae92dc38 demos: Increase the executable permissions
Add executable permissions to the buildah-bud-demo.sh file.

Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>

Closes: #989
Approved by: TomSweeneyRedHat
2018-09-06 14:00:52 +00:00
TomSweeneyRedHat a59fb7a665 Create Development plan
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #841
Approved by: rhatdan
2018-07-04 10:05:27 +00:00
TomSweeneyRedHat 5025ffa423 Add Multi From Demo
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #790
Approved by: rhatdan
2018-06-18 14:29:23 +00:00
TomSweeneyRedHat 5595d4dea8 Quick fix on demo readme
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #737
Approved by: rhatdan
2018-05-30 20:19:18 +00:00
William Henry @ipbabble c1ed62120a Added a bud demo and tidied up
Signed-off-by: William Henry @ipbabble <whenry@redhat.com>

Closes: #694
Approved by: rhatdan
2018-05-16 12:56:07 +00:00
pixdrift fa2ae6a239 Update buildah scratch demo to support el7
Signed-off-by: pixdrift <support@pixeldrift.net>

Closes: #679
Approved by: rhatdan
2018-05-14 20:47:21 +00:00
William Henry @ipbabble ce8d467628 Added Docker compatibility demo
Signed-off-by: William Henry @ipbabble <whenry@redhat.com>

Closes: #677
Approved by: rhatdan
2018-05-12 09:42:54 +00:00
William Henry @ipbabble 2ea3e11d18 Added demo dir and a demo. chged distrorlease
Signed-off-by: William Henry @ipbabble <whenry@redhat.com>

Closes: #668
Approved by: TomSweeneyRedHat
2018-05-10 21:21:34 +00:00