alpine-repo/Dockerfile

17 lines
478 B
Docker
Raw Normal View History

2022-04-09 16:51:42 +02:00
FROM alpine:edge
2021-04-01 23:32:47 +02:00
2022-04-09 16:51:42 +02:00
RUN echo -e "http://alpine.sakamoto.pl/alpine/edge/main\nhttp://alpine.sakamoto.pl/alpine/edge/community\nhttp://alpine.sakamoto.pl/alpine/edge/testing" > /etc/apk/repositories \
&& apk update && apk add micro abuild atools sudo && adduser -G abuild -D -u 1001 domi && echo "domi ALL=(ALL) ALL" > /etc/sudoers
2021-04-01 23:32:47 +02:00
2022-04-09 16:51:42 +02:00
VOLUME /aports
2021-04-01 23:32:47 +02:00
USER ci
COPY ./.abuild /home/ci/.abuild
USER root
RUN cp /home/ci/.abuild/ci-6061e1c0.rsa.pub /etc/apk/keys/
USER ci
2022-04-09 16:51:42 +02:00
CMD ["ash"]