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
|
||||
|
||||
Install an
|
||||
[OCI](https://en.wikipedia.org/wiki/Open_Container_Initiative)-compliant
|
||||
container management tool: [Podman](https://podman.io/) or
|
||||
[Docker](https://www.docker.com/). The examples will be using Podman.
|
||||
- Install an
|
||||
[OCI](https://en.wikipedia.org/wiki/Open_Container_Initiative)-compliant
|
||||
container management tool: [Podman](https://podman.io/) or
|
||||
[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
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
The `my-pkg` folder should contain the `makepkg` files such as `PKGBUILD`
|
||||
(see [Volumes](Volumes)). When the build is finished, the compressed package
|
||||
will be stored in `build/packages`.
|
||||
When the build is finished, the compressed package will be stored in
|
||||
`build/packages`.
|
||||
|
||||
### Rust
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue