2021-02-02 22:51:38 +00:00
|
|
|
FROM alpine:3.13.1
|
2019-09-10 23:10:18 +00:00
|
|
|
MAINTAINER "f <f@sutty.nl>"
|
2019-09-10 23:23:52 +00:00
|
|
|
|
2019-09-18 16:47:30 +00:00
|
|
|
RUN apk add --no-cache alpine-sdk ccache cmake
|
2019-09-10 23:23:52 +00:00
|
|
|
RUN adduser -s /bin/sh -D builder
|
|
|
|
RUN adduser builder abuild
|
|
|
|
|
|
|
|
# Generate keys
|
|
|
|
#
|
|
|
|
# TODO: It doesn't matter if we publish them because they're private
|
|
|
|
# repositories.
|
2020-07-27 19:40:07 +00:00
|
|
|
# USER builder
|
|
|
|
# RUN abuild-keygen
|
|
|
|
# RUN echo /home/builder/.abuild/*.rsa \
|
|
|
|
# | sed "s/^/PACKAGER_PRIVKEY=/" \
|
|
|
|
# >> /home/builder/.abuild/abuild.conf
|
2019-09-10 23:23:52 +00:00
|
|
|
|
2020-07-27 19:40:07 +00:00
|
|
|
ENV PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|