arguments needed:
AWS_BUCKET
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
GPG_KEY
GPG_PASSPHRASE
optional envs:
AWS_REGION=eu-central-1
volumes needed:
./repo:/repo
./keys:/keys
for development, you might want
./src:/src
you MUST put your private+public key in the docker (yes, with the passphrase and ID in the env variables too)
# find which key you might want to use
gpg --list-secret-keys
# copy the large hex as ID
gpg --export ID > keys/public
gpg --export-secret-keys ID > keys/private
It is recommended you create keys just for this purpose (gpg --gen-key
)