we have a repository now!

This commit is contained in:
f 2020-07-27 16:40:07 -03:00
parent feadab279c
commit 76e23d8369

View file

@ -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