diff --git a/NOTICE b/NOTICE index 98aab4c..d60a94e 100644 --- a/NOTICE +++ b/NOTICE @@ -2,4 +2,5 @@ docker-aptly Copyright 2016 Bryan J. Hong This product contains software (https://github.com/bryanhong/docker-aptly) developed -by Bryan Hong (http://github.com/bryanhong) licensed under the Apache License. +by Bryan Hong (http://github.com/bryanhong), and Jan Čapek (https://github.com/honzik666) +licensed under the Apache License. diff --git a/assets/startup.sh b/assets/startup.sh index 46d21f0..49c6b70 100755 --- a/assets/startup.sh +++ b/assets/startup.sh @@ -8,6 +8,11 @@ if [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then gpg --batch --gen-key /opt/gpg_batch fi +# Export the GPG Public key +if [[ ! -f /opt/aptly/public/aptly_repo_signing.key ]]; then + gpg --export --armor > /opt/aptly/public/aptly_repo_signing.key +fi + # Import Ubuntu keyrings gpg --list-keys gpg --no-default-keyring \