Hey,
The Alpine repository is basically a file repository containing all the packages
along side with an index.
APKINDEX.tar.gz
nodejs-16.16.0-r0.apk
For example files that are stored within the repository. The index
file contains the meta information of all packages and the APK
files aretar.gz
archives of the actual package. 2
.
| -- APKINDEX
| -- DESCRIPTION
Structure of the
APKINDEX
archive.
v3.16.2-12-g0a9ad186b5
Contents of the
DESCRIPTION
file for the index.
C:Q1q+b+YJqvl8+pTo4w26MOThV13Ew=
P:nodejs
V:16.16.0-r0
A:x86_64
S:12195388
I:33898496
T:JavaScript runtime built on V8 engine - LTS version
U:https://nodejs.org/
L:MIT
o:nodejs
m:Jakub Jirutka <jakub@jirutka.cz>
t:1658183261
c:60ef72f6571ba1057c3c15f2ce3fe532551f4bd3
k:100
D:ca-certificates nghttp2-libs>=1.41 /bin/sh so:libbrotlidec.so.1 so:libbrotlienc.so.1 so:libc.musl-x86_64.so.1 so:libcares.so.2 so:libcrypto.so.1.1 so:libgcc_s.so.1 so:libicui18n.so.71 so:libicuuc.so.71 so:libnghttp2.so.14 so:libssl.so.1.1 so:libstdc++.so.6 so:libz.so.1
p:nodejs-lts=16.16.0 cmd:node=16.16.0-r0
...
Contents of the
APKINDEX
file for the index 3.
For setting up the repository the APK tool can be used, for e.g. generating
the index. 1
.
| -- usr
| -- bin
| | -- node
| -- share
| -- systemtap
| -- tapset
| -- node.stp
Example structure of a APK package.