Commit Graph

74 Commits

Author SHA1 Message Date
Kir Kolyshkin f0361414de Makefile,install.md: rm gopath stuff
For quite some time (Go 1.16? To be honest, I don't remember) placing
sources in a specific directory under $GOPATH is no longer required.

[NO NEW TESTS NEEDED]

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-11-11 10:49:04 -08:00
Kir Kolyshkin c07a5eb567 Makefile: rm targets working on ..
It looks like those were added to aim in CI, and is no longer required.
As it is quite unexpected to have make targets operate on directories such
as ../../, let's remove those.

Fix Ubuntu build instructions accordingly (runc binary package is
available in those distros).

[NO NEW TESTS NEEDED]

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-11-11 10:49:04 -08:00
Jelmer Vernooij 987e63a2d5
install: On Debian/Ubuntu, add installation of libbtrfs-dev
Signed-off-by: Jelmer Vernooij <jvernooij@evroc.com>
2024-08-05 12:35:35 +01:00
onlykzy ff13a08c9d
Update install.md
Signed-off-by: onlykzy <38772072+onlykzy@users.noreply.github.com>
2024-04-03 20:45:30 +08:00
Anjaneyulu Aerrolla fc7329d7c8
Update install.md
updated Debian install instructions  to reflect current stable Debian version and name which is  Debian 12 Bookworm

Signed-off-by: Anjaneyulu Aerrolla <aaerrolla@gmail.com>
2023-08-05 12:45:28 +05:30
Anjaneyulu Aerrolla f6c4ead1bc
Update install.md changes current Debian stable version name
updated install instructions for Debian current stable version

Signed-off-by: Anjaneyulu Aerrolla <aaerrolla@gmail.com>
2023-08-05 09:22:05 +05:30
Andrew Gallagher f704a67a19
Update debian install instructions
Signed-off-by: Andrew Gallagher <andrew.gallagher@siren.io>
2023-06-30 15:24:36 +01:00
Kir Kolyshkin bd32a04c37 Remove device mapper support
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-12 12:43:16 -07:00
Aditya R beae5647c0
remove registry.centos.org
registry.centos.org is now decommissioned

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

Signed-off-by: Aditya R <arajan@redhat.com>
2023-05-26 21:56:20 +05:30
copyrights 58a22053b0 update build instruction for Ubuntu
Signed-off-by: copyrights <copyrights@mailbox.org>
2023-03-28 23:23:32 +02:00
Marat Radchenko 20dd347b9a
Fix installation instructions for Gentoo Linux
Signed-off-by: Marat Radchenko <marat@slonopotamus.org>

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
2022-11-16 10:44:11 +03:00
Enrico 46db02116c Update install.md: Debian 11 (Bullseye) is stable
Signed-off-by: Enrico204 <enrico204@gmail.com>
2022-09-13 01:31:30 +02:00
Chris Evich 4cf93e3edc
Fix use generic/ambiguous DEBUG name
The use of the generic 'DEBUG' name in varialbes or flags can be very
problematic and lead to difficult to troubleshoot problems.  Update CI
VM images to those including updated automation library that uses the
`$A_DEBUG` env. var. instaed.  Also update other repository files which
make use of the generic form.

Signed-off-by: Chris Evich <cevich@redhat.com>
2022-06-02 11:44:38 -04:00
Michael L 5e338aadd1
Fix gentoo install docs
app-containers/podman from app-emulation/

Grabbed fix from @necrose99

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-05-06 06:05:45 -04:00
Giuseppe Scrivano d2927cdd47
install: drop RHEL/CentOS 7 doc
the packages there are too outdated to build properly latest versions
of buildah, e.g. a different go toolchain must be installed manually
as well as gpgme-devel.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-03-25 11:32:53 +01:00
Lokesh Mandvekar 3691a23cfb
[CI:DOCS] remove references to Kubic for CentOS and Ubuntu
The Kubic packages for CentOS and Ubuntu are no longer being updated,
and will likely be deleted from Kubic in the near future.

CentOS and Ubuntu users should switch to using packages provided in their
distro's default repos.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-03 14:30:45 -05: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