From 76e23d8369bb19819d467f5065b1a8279b01a85e Mon Sep 17 00:00:00 2001 From: f Date: Mon, 27 Jul 2020 16:40:07 -0300 Subject: [PATCH] we have a repository now! --- Dockerfile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0835151..ecfc3c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,16 +9,10 @@ RUN adduser builder abuild # # TODO: It doesn't matter if we publish them because they're private # repositories. -USER builder -RUN abuild-keygen -RUN echo /home/builder/.abuild/*.rsa \ - | sed "s/^/PACKAGER_PRIVKEY=/" \ - >> /home/builder/.abuild/abuild.conf +# USER builder +# RUN abuild-keygen +# RUN echo /home/builder/.abuild/*.rsa \ +# | sed "s/^/PACKAGER_PRIVKEY=/" \ +# >> /home/builder/.abuild/abuild.conf -# Install keys and local repository -USER root -RUN cp /home/builder/.abuild/*.pub /etc/apk/keys/ -RUN echo /home/builder/packages/home >> /etc/apk/repositories -RUN cp /home/builder/.abuild/*.pub /etc/apk/keys/ - -ENV PATH=usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +ENV PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin