Public | Automated Build

Last pushed: 2 years ago
Short Description
Host and Manage Debian Repository on S3 using debs3
Full Description

docker-debs3

This is a basic debian image with debs3 and the gnupg files needed for signing the debian packages.
debs3 is a light weight command-line for managing a Debian repository hosted on Amazon S3.

Latest is pinned at the version 7.1 (commit 67c2e65bc9)

Assuming you have installed the AWS CLI, the AWS keys can be loaded in to environmental variables using

. $AWS_CREDENTIAL_FILE

delete a particular package

docker run -t --rm -e HOME=/root -e AWS_ACCESS_KEY_ID=$AWSAccessKeyId -e AWS_SECRET_ACCESS_KEY=$AWSSecretKey openrov/debs3 delete <package name> --arch <architecture> --bucket <S3 bucket> --codename <stable/testing/development etc> --component= <component> --versions <list of versions to remove>

sign a debian package

docker run -t -rm \
    -v ($pwd)/gnupg/:/root/.gnupg \
    -v $OUTPUT_DIR/packages:/tmp/packages \
    -v ${GPG_PASSPHRASE_FILE}:/root/passphrase.txt \
    -e HOME=/root \
    --entry-point dpkg-sig openrov/debs3 \
       -k $KEYID \
       -g "--passphrase-file /root/passphrase.txt" \
       -s openrov \
        /tmp/packages/<package_file(s)>.deb
Docker Pull Command
Owner
openrov
Source Repository

Comments (0)