| Name | Possible values | Default | Effect |
|---|---|---|---|
| AUTO_CREATE_REPO | true/false | false | If true, will automatically create new repositories |
| PASSPHRASE | any | empty | If set, create the passphrase file |
Required files in ${webdir}:
docker run --name aptly -d -e GPGKEY="${KEY}" -v "${webdir}":/opt/aptly -v "${shareddir}":/shared celforyon/aptly
docker exec aptly repo create "${dist}"
tmp=$(mktemp -dp "${shareddir})
mkdir "${tmp}/${dist}"
cp "${debfile} "${tmp}/${dist}/"
The debfile and two directories will be removed
The subdirectory ${dist} must be a valid repository name
The temporary directory is required but you can name it otherwise
To serve your published packages, you need to run a web server on ${webdir}/public
You can make use of these scripts by doing:
docker exec aptly *script*
It loads all repo and packages from the debs directory
Automatically pass passphrase for required subcommands.
It deletes all aptly generated data.
Also, the debs archive of added packages is backuped in backup/debs.$(date '+%Y%m%d%s')
It allows to create an aptly repository and is the same as:
aptly repo create -distribution="${dist}" -component=main "${dist}"
Content type
Image
Digest
Size
60 MB
Last updated
about 7 years ago
docker pull celforyon/aptly