we have a repository now!
This commit is contained in:
parent
feadab279c
commit
76e23d8369
1 changed files with 6 additions and 12 deletions
18
Dockerfile
18
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
|
||||
|
|
Loading…
Reference in a new issue