Comments (14)
❤️
from entrykit.
For anyone interested finding this, saved you a search: http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package
from entrykit.
Here is a working APKBUILD.
I opted not to install the symlinks because I haven't figured out how to easily make sure these get uninstalled correctly. We may want a --unlink
before we do that, because entrykit itself is the source of truth for the list of commands.
Having never packaged for alpine before, do we maintain this in tree, in a branch, in a separate repo, ...?
# Contributor: Randall Leeds <[email protected]>
# Maintainer: Randall Leeds <[email protected]>
pkgname=entrykit
pkgver=0.4.0
pkgrel=0
pkgdesc="Entrypoint tools for elegant, programmable containers"
url="https://github.com/progrium/entrykit"
arch="x86_64"
license="MIT"
depends=""
depends_dev=""
makedepends="go"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/progrium/$pkgname/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
go build -a -ldflags "-X main.Version=$pkgver" -o $pkgname ./cmd
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/bin
cp $pkgname "$pkgdir"/usr/bin
}
md5sums="10d9189782ca67a2a7de963ef05dd861 entrykit-0.4.0.tar.gz"
sha256sums="89a35754ff0a9beba3a6d2eb34bc6048476409536586908cf3e2c6afdb503463 entrykit-0.4.0.tar.gz"
sha512sums="79097b090af7bcaed31587d7ea81776698ac1bfa75defb4269e02da3f282d109fa1b68b3e8aca4351a3eb1fe1c0128c26853174f398b8d015b16a51a131ca6ca entrykit-0.4.0.tar.gz"
from entrykit.
Okay. I did more reading and see now the process is to submit it as a patch to the aports repo. I'll do this now!! :)
from entrykit.
Update?
from entrykit.
Should I submit it to community or testing?
from entrykit.
Not sure. @andyshinn do you know what would be best?
from entrykit.
Submit it to testing first.
from entrykit.
Thanks to help from @MattAitchison, we have mattaitchison/entrykit-apk now and I'm waiting to submit the 0.4.0r1 to alpine testing, but there are DNS issues currently.
We can close this.
from entrykit.
Successfully, I think, submitted it to the alpine-aports list. Haven't received a bounce/spam notification this time, at least :). We'll see if it pops up in the archives later.
from entrykit.
They have a patchwork program that grabs patches for review. You can use it to verify stuff got through. In this case, yes it did: http://patchwork.alpinelinux.org/patch/1779/.
from entrykit.
Thanks, @andyshinn!
from entrykit.
Published in testing. Done.
from entrykit.
Can be closed.
from entrykit.
Related Issues (11)
- Documentation HOT 3
- codep argument parsing HOT 1
- Upgrade dependency management to `go mod` HOT 3
- Support on Mac M1 HOT 19
- `prehook` cannot find executable
- Race condition near `t.Process.Signal(sig)`? HOT 3
- Trouble quoting arguments to codep commands HOT 2
- render only last file having same base filename HOT 3
- Don't render if file exists
- releases and Dockerfile HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entrykit.