aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-05-15 09:48:01 -0400
committerGitHub <noreply@github.com>2019-05-15 09:48:01 -0400
commitc5aab6be2639e33509c0180c2f9dfd8f8e42882f (patch)
treef65e145a60570733f764c495edc1b97b868b2bfa
parenta5585a7caecb3fe86aa30aafc0e55b18a7834bc7 (diff)
downloaddocker-abuild-c5aab6be2639e33509c0180c2f9dfd8f8e42882f.tar.bz2
docker-abuild-c5aab6be2639e33509c0180c2f9dfd8f8e42882f.tar.xz
entrypoint: copy public keys to /etc/apk/keys directory
-rwxr-xr-xentrypoint.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index 68f53ff..cc35342 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -13,4 +13,6 @@ if [ ! -r "$HOME/.abuild/abuild.conf" ]; then
abuild-keygen -n -i -a
fi
+cp -v "$HOME"/.abuild/*.pub /etc/apk/keys/
+
exec "$(command -v abuild)" "$@"