Commit Graph

59 Commits

Author SHA1 Message Date
Aditya R d5b77bf72c [release-1.24] remove registry.centos.org
registry.centos.org is now decommissioned

Ref: https://lists.centos.org/pipermail/centos-devel/2023-May/142956.html

Cherry-pick of #4825, which is in turn a cherry-pick of #4819.
One minor conflict

Signed-off-by: Aditya R <arajan@redhat.com>
Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-05-30 08:12:39 -06:00
Kirill Shirinkin 2d822034f8 Rename bud to build, while keeping an alias for to bud.
Signed-off-by: Kirill Shirinkin <kirill@hey.com>
2021-08-25 17:56:58 +02:00
stevegt 38b6e3019a Remove specific kernel version number requirement from install.md
Existing specific version number requirement is misleading; discussion
in https://github.com/containers/podman/issues/10100.  Consensus there
and in #3295 is to avoid specific version numbers.

Signed-off-by: Steve Traugott <stevegt@t7a.org>
2021-07-16 19:25:41 -07:00
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
Chris Evich e6d29d29f9
[CI:DOCS] Fix links to c/image master branch
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-06-15 15:49:54 -04:00
Mateusz Urbanek 717299f5b3
fix(docs): typo
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
2021-06-05 21:14:21 +02:00
Lokesh Mandvekar 5d76b9d2c3 [CI:DOCS] Update steps for CentOS runc users
use dnf --refresh option to set metadata expired before
running the install.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-04-23 11:05:46 -04:00
Lokesh Mandvekar ee1c3b71c7 [CI:DOCS] Remove older distro docs
This commit removes installation steps for older distros:

1. Amazon Linux 2
2. CentOS 7
3. Debian 10
4. Raspbian 10
5. Raspberry Pi OS armhf

We're no longer building new packages for these distros and the
installation steps for older packages are no longer guaranteed to work.
So, these are best removed from the official docs.

Related blog post (also applies to buildah):
https://podman.io/blogs/2021/03/02/podman-support-for-older-distros.html

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-04-22 14:21:52 -04:00
OpenShift Merge Robot 356fd7e89b
Merge pull request #2822 from bogdando/source_debug_build
Add a source debug build
2020-12-16 20:06:09 +00:00
Lokesh Mandvekar ab84d44261 update installation doc to reflect current status
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-12-09 15:56:51 -05:00
Bogdan Dobrelya 505a447230 Add a source debug build
Add target: make all DEBUG=1.
Uses the -N -l go compiler options to disable compiler optimizations
and inlining. Using these build options allows you to subsequently
use source debugging tools like delve.

Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2020-11-24 16:39:25 +01:00
Daniel J Walsh 4ad488ab5f
Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
2020-11-18 05:58:47 -05:00
Lokesh Mandvekar d61c38cb2a update docs for debian testing and unstable
Buildah is now present on debian testing and unstable so providing Kubic
repos for it can lead to conflicts. Better to mention only the official
repos to avoid confusing end users.
Related: https://github.com/containers/buildah/issues/2797

Also, provide installation steps for Ubuntu 20.10 and newer, and redirect
Raspberry Pi OS users to Debian installation steps to
avoid content duplication.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-11-17 15:35:13 -05:00
Chris Herdt 964b7145e8 Use curl to get repo file (fix #2714)
Use curl -o w/ full path

Signed-off-by: Chris Herdt <cherdt@gmail.com>
2020-10-23 10:14:48 -05:00
Daniel J Walsh 2cf9c8f2b8
Fix up code based on codespell
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-15 16:49:18 -04:00
Ashley Cui c7b46b7d85 Fix & add notes regarding problematic language in codebase
The Buildah project is committed to inclusivity, a core value of open source. Historically, there have been technology terms that are problematic and divisive, and should be changed. We are currently taking time to audit our repository in order to eliminate such terminology, and replace it with more inclusive terms. We are starting where we can, with our own code, comments, and documentation. However, such terms may be used in dependencies, and must be used as-is in our repositories at the current moment for compatibility. Buildah will change these terms in our repo as soon as new and better terminology is available to us via our dependencies.

For more information: https://www.redhat.com/en/blog/making-open-source-more-inclusive-eradicating-problematic-language?sc_cid=701600000011gf0AAA

Signed-off-by: Ashley Cui <acui@redhat.com>
2020-07-20 13:31:11 -04:00
Daniel J Walsh 7bcf15c124
Switch golang 1.12 to golang 1.13
Tutorials have an unsuported golang version referenced.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-15 17:12:54 -04:00
TomSweeneyRedHat a5b8b7a1c0 Bump imagebuilder for ARG fix
Bump imagebuilder to the latest upstream to get the ARG fix from
https://github.com/openshift/imagebuilder/pull/159

Also touched up the install.md with vendoring from a commitId so
I won't have to run all around looking for it next time.

Fixes: https://github.com/containers/buildah/issues/2192
       and probably https://github.com/containers/buildah/issues/2345

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-05-23 15:10:26 -04:00
tophercullen b3eed6b6bf Fix Amazon install step
Signed-off-by: Topher Cullen <topher@shawlite.com>
2020-03-27 11:03:04 -06:00
Lokesh Mandvekar d9d173e66c update install steps for Amazon Linux 2
Fixes: #1921

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-03-23 13:12:50 -04:00
Lokesh Mandvekar a882c52918 include installation steps for CentOS 8 and Stream
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-13 15:21:26 -05:00
bors[bot] f6c7894913
Merge #2160 #2162
2160: Adjust Ubuntu install info to also work on Pop!_OS r=rhatdan a=leorochael

Tested on `Pop!_OS` 19.10

2162: include installation steps for CentOS7 and forks r=rhatdan a=lsm5

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>

need confirmation on amazon linux 2 from https://github.com/containers/buildah/issues/1921 but I'm guessing this will work if amazon linux 2 is rhel7 compatible.

/cc @apg036 and @cgeers

Co-authored-by: Leonardo Rochael Almeida <leorochael@gmail.com>
Co-authored-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-13 10:55:20 +00:00
Lokesh Mandvekar 04e3e090eb include installation steps for CentOS7 and forks
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-12 09:54:01 -05:00
Leonardo Rochael Almeida 9c6e52b963 Adjust Ubuntu install info to also work on Pop!_OS
Tested on `Pop!_OS` 19.10

Signed-off-by: Leonardo Rochael Almeida <leorochael@gmail.com>
2020-02-12 00:27:15 -03:00
Daniel 935a6188d5
Fixing formatting & build instructions
Fixed a typo on markdown link for Podman, revised build instructions for correctness, reviewed & added consistent sudo usage for Debian and Ubuntu.

Signed-off-by: Daniel Calvo <vioseven@gmail.com>
2020-02-09 01:26:38 +01:00
Lokesh Mandvekar b09fdc33e8 update install instructions for Debian, Raspbian and Ubuntu
Resolves: #1918

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>

Closes: #2088
Approved by: rhatdan
2020-01-16 12:59:45 +00:00
l00397676 bc8feee6a4 install.md: update golang dependency
After commit 92ce0bdf, golang dependency for compiling is 1.12 or
higher.

Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com>

Closes: #2013
Approved by: rhatdan
2019-12-11 01:13:39 +00: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
Giuseppe Scrivano 8a23247ce9
build: drop support for ostree
it is going to be removed from containers/image as well, so no longer
depend on it.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-30 10:49:58 +01:00
Daniel J Walsh 751f92ed13 Add support for make vendor-in-container
Certain versions of go have different vendoring capabilities.
We want to make sure that vendoring the the vendor checker are
running with the same version of golang.  We do this by using
podman to run a container of the lates golang container image.

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

Closes: #1949
Approved by: TomSweeneyRedHat
2019-10-29 13:26:24 +00:00
Sascha Grunert 177b271152 Allow mounts.conf entries for equal source and destination paths
It is now possible to simplify entries in `mounts.conf` files if the
source and destination paths are equal, like this:

```
/my/very/long/path:/my/very/long/path
```

can be now written as:

```
/my/very/long/path
```

The documentation has been adapted as well as the testing.

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

Closes: #1832
Approved by: TomSweeneyRedHat
2019-09-04 12:40:36 +00:00
Valentin Rothberg 57db70c122 install.md: mention goproxy
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>

Closes: #1829
Approved by: TomSweeneyRedHat
2019-08-30 15:47:16 +00:00
TomSweeneyRedHat 96a136eed8 Touch up go mod instructions in install
Add steps on how to use your own fork to vendor in code using go mod
to the install instructions.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #1781
Approved by: rhatdan
2019-08-12 14:54:10 +00:00
Sascha Grunert 4d017d6c30 Remove GO111MODULE in favor of `-mod=vendor`
When building buildah outside of the `$GOPATH`, then we should stick to
the `-mod=vendor` approach. Other go versions than 1.11 will build on
the classic way, whereas other targets should not be affected at all.
The documentation has been updated as well.

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

Closes: #1752
Approved by: rhatdan
2019-08-01 13:15:00 +00:00
TomSweeneyRedHat ed56830e21 Add gomod instructions and mailing list links
Added instructions for how to use go mod to vendor
in the contributing.md file.

Also add a few links to the Buildah mailing list.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #1703
Approved by: rhatdan
2019-07-04 11:50:28 +00:00
Valentin Rothberg 6f8073e412 install.md: mention go modules
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>

Closes: #1621
Approved by: rhatdan
2019-06-25 09:55:38 +00:00
cheesiong-lee 8dd8e1a803 Add missing step in installing into Ubuntu
Signed-off-by: cheesiong.lee <cheesiong.lee@prophetstor.com>

Closes: #1458
Approved by: rhatdan
2019-04-04 21:06:23 +00:00
Qi Wang d0f8515470 add sample registries.conf to docs
Signed-off-by: Qi Wang <qiwan@redhat.com>

Closes: #1415
Approved by: rhatdan
2019-03-18 17:35:30 +00:00
Valentin Rothberg b00ab350a7 install.md: add section about vendoring
Add a section about how we do vendoring and to troubleshoot related
issues.  Note that the text is a verbatim copy from libpod's
install.md.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>

Closes: #1354
Approved by: rhatdan
2019-02-22 11:29:12 +00:00
Daniel J Walsh 61280840d2 Add package install descriptions
We need to simply describe how to install a packaged
version of buildah for each distribution, rather then
just describing how to build it.

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

Closes: #1310
Approved by: TomSweeneyRedHat
2019-02-01 12:54:59 +00:00
TomSweeneyRedHat 03f62479b3 Note configuration file requirements
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

We've had a couple of comments that the required configuration
files are not as documented as they should be.  Adding a note to
the install and troubleshooting guides to hopefully help.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #1306
Approved by: rhatdan
2019-02-01 01:53:57 +00:00
Daniel J Walsh 3a5f084652 Add support for building buildah staticly
Add new Makefile options

SECURITYTAGS for passing options to setup security flags
Examples:  seccomp, apparmor, selinux ...

STORAGETAGS for passing in alternate storage options
Examples: btrfs_noversion, libdm_no_deferred_remove, ostree, containers_image_ostree_stub

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

Closes: #1130
Approved by: rhatdan

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

Closes: #917
Approved by: rhatdan
2018-11-20 15:45:18 +00:00
TomSweeneyRedHat dac78199bf Bump min go to 1.10 in install.md
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #1176
Approved by: rhatdan
2018-11-14 09:52:10 +00:00
TomSweeneyRedHat 9add3c8f79 Add note to install about non-root on RHEL/CentOS
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #1166
Approved by: rhatdan
2018-11-09 13:54:30 +00:00
Kris Nova 2bc8ecae55 Fixing broken link for container-registries.conf
The link to the container-registries.conf man page was a little off - this fixes it.

This patch was originaly submitted by Kris Nova <kris@nivenly.com>
I am signing it to get it merged.

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

Closes: #1153
Approved by: rhatdan
2018-11-02 22:48:35 +00: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
Pascal Bourdier 7240f9f00b CentOS need EPEL repo
With CentOS, `bats` is only in EPEL repo

Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com>

Closes: #919
Approved by: nalind
2018-08-10 06:54:14 +00:00
Daniel J Walsh 0143a4428b Add information about the configuration files to the install docs
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #811
Approved by: TomSweeneyRedHat
2018-06-22 18:38:06 +00:00
Nalin Dahyabhai 00fafcf9cb Use CNI to configure container networks
Use CNI to configure networks for containers for which we create new
network namespaces.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #700
Approved by: rhatdan
2018-05-24 14:10:01 +00:00
TomSweeneyRedHat 78b0a37293 Change image time to locale, add troubleshooting.md, add logo to other mds
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #544
Approved by: rhatdan
2018-03-30 11:41:45 +00:00