aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-05-17 15:32:45 -0400
committerGitHub <noreply@github.com>2019-05-17 15:32:45 -0400
commitf8d5043ec1b002206f1160dbd6dc8ec2ba7a4e3c (patch)
treea50ae48bb962f929e8973d9937ba28b9d30d2829
parentc5aab6be2639e33509c0180c2f9dfd8f8e42882f (diff)
downloaddocker-abuild-f8d5043ec1b002206f1160dbd6dc8ec2ba7a4e3c.tar.bz2
docker-abuild-f8d5043ec1b002206f1160dbd6dc8ec2ba7a4e3c.tar.xz
!fixup entrypoint: copy public keys to /etc/apk/keys directory
Oops. I forgot this runs as builder.
-rwxr-xr-xentrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index cc35342..ecd1a86 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -13,6 +13,6 @@ if [ ! -r "$HOME/.abuild/abuild.conf" ]; then
abuild-keygen -n -i -a
fi
-cp -v "$HOME"/.abuild/*.pub /etc/apk/keys/
+sudo cp -v "$HOME"/.abuild/*.pub /etc/apk/keys/
exec "$(command -v abuild)" "$@"