new things
parent
a7b7ccfa7d
commit
74be9c3c06
|
@ -1,2 +1 @@
|
|||
PACKAGER_PRIVKEY="/home/ci/.abuild/ci-6061e1c0.rsa"
|
||||
REPODEST="/mnt/alpine"
|
||||
|
|
14
Dockerfile
14
Dockerfile
|
@ -1,13 +1,9 @@
|
|||
FROM alpine:latest
|
||||
FROM alpine:edge
|
||||
|
||||
COPY ./build.sh /usr/local/bin/
|
||||
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
|
||||
|
||||
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
|
||||
RUN apk add bash abuild build-base nano
|
||||
RUN adduser -D ci
|
||||
RUN addgroup ci abuild
|
||||
VOLUME /aports
|
||||
|
||||
USER ci
|
||||
COPY ./.abuild /home/ci/.abuild
|
||||
|
@ -16,3 +12,5 @@ USER root
|
|||
RUN cp /home/ci/.abuild/ci-6061e1c0.rsa.pub /etc/apk/keys/
|
||||
|
||||
USER ci
|
||||
|
||||
CMD ["ash"]
|
||||
|
|
Loading…
Reference in New Issue