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
|
# TODO: It doesn't matter if we publish them because they're private
|
||||||
# repositories.
|
# repositories.
|
||||||
USER builder
|
# USER builder
|
||||||
RUN abuild-keygen
|
# RUN abuild-keygen
|
||||||
RUN echo /home/builder/.abuild/*.rsa \
|
# RUN echo /home/builder/.abuild/*.rsa \
|
||||||
| sed "s/^/PACKAGER_PRIVKEY=/" \
|
# | sed "s/^/PACKAGER_PRIVKEY=/" \
|
||||||
>> /home/builder/.abuild/abuild.conf
|
# >> /home/builder/.abuild/abuild.conf
|
||||||
|
|
||||||
# Install keys and local repository
|
ENV PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in a new issue