Skip to content

Instantly share code, notes, and snippets.

@chambbj
Created January 3, 2018 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chambbj/c5961f78dbf76a5af3cdac194cc146c5 to your computer and use it in GitHub Desktop.
Save chambbj/c5961f78dbf76a5af3cdac194cc146c5 to your computer and use it in GitHub Desktop.
The Quick & Dirty Guide to Updating Alpine Packages for PDAL

I created a docker image that applied the steps described in https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Setup_your_system_and_account. Any time I need to update a package, I just spin the image back up.

To create a new package you could theoretically use the template instructions here https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Use_a_template_APKBUILD, but I usually just create my APKBUILD file from scratch.

Build is pretty simple. From the package directory, just abuild checksum && abuild -r as described in https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Build_the_package.

Regular git stuff for committing changes. https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Commit_your_work

Alpine accepts packages submitted to the mailing list https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Send_a_patch, or submitted as a GitHub PR (more on contributing here https://github.com/alpinelinux/aports/blob/master/.github/CONTRIBUTING.md).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment