alpine-repo/Dockerfile

19 lines
501 B
Docker
Raw Normal View History

2022-04-09 16:30:05 +02:00
FROM alpine:latest
2021-04-01 23:32:47 +02:00
COPY ./build.sh /usr/local/bin/
2022-04-09 16:30:05 +02:00
RUN echo 'http://alpine.sakamoto.pl/alpine/edge/main/' > /etc/apk/repositories
RUN echo 'http://alpine.sakamoto.pl/alpine/edge/community/' >> /etc/apk/repositories
RUN echo 'http://alpine.sakamoto.pl/alpine/edge/testing/' >> /etc/apk/repositories
2021-04-18 14:39:25 +02:00
RUN apk add bash abuild build-base nano
2021-04-01 23:32:47 +02:00
RUN adduser -D ci
RUN addgroup ci abuild
USER ci
COPY ./.abuild /home/ci/.abuild
USER root
RUN cp /home/ci/.abuild/ci-6061e1c0.rsa.pub /etc/apk/keys/
USER ci