Skip to content

Instantly share code, notes, and snippets.

@chambbj
Created January 3, 2018 15:07
Show Gist options
  • Select an option

  • Save chambbj/c5961f78dbf76a5af3cdac194cc146c5 to your computer and use it in GitHub Desktop.

Select an option

Save chambbj/c5961f78dbf76a5af3cdac194cc146c5 to your computer and use it in GitHub Desktop.

Revisions

  1. chambbj created this gist Jan 3, 2018.
    9 changes: 9 additions & 0 deletions main.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    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).