Update Usage.md
parent
b52f5e4505
commit
84482b69b8
1 changed files with 8 additions and 7 deletions
15
Usage.md
15
Usage.md
|
@ -6,10 +6,12 @@ to build Arch Linux packages.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
Install an
|
- Install an
|
||||||
[OCI](https://en.wikipedia.org/wiki/Open_Container_Initiative)-compliant
|
[OCI](https://en.wikipedia.org/wiki/Open_Container_Initiative)-compliant
|
||||||
container management tool: [Podman](https://podman.io/) or
|
container management tool: [Podman](https://podman.io/) or
|
||||||
[Docker](https://www.docker.com/). The examples will be using Podman.
|
[Docker](https://www.docker.com/). The examples will be using Podman.
|
||||||
|
- Existing `PKGBUILD` file for use by `makepkg`. This will be stored in the
|
||||||
|
`./pkg/PKGBUILD` in the examples.
|
||||||
|
|
||||||
## Running the Container
|
## Running the Container
|
||||||
|
|
||||||
|
@ -26,9 +28,8 @@ container management tool: [Podman](https://podman.io/) or
|
||||||
podman run --rm -v ./my-pkg:/pkg:ro -v ./build:/build code.fosterhangdaan.com/foster/arch-packaging-container:latest
|
podman run --rm -v ./my-pkg:/pkg:ro -v ./build:/build code.fosterhangdaan.com/foster/arch-packaging-container:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
The `my-pkg` folder should contain the `makepkg` files such as `PKGBUILD`
|
When the build is finished, the compressed package will be stored in
|
||||||
(see [Volumes](Volumes)). When the build is finished, the compressed package
|
`build/packages`.
|
||||||
will be stored in `build/packages`.
|
|
||||||
|
|
||||||
### Rust
|
### Rust
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue