diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-07 08:09:05 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-07 08:09:05 +0200 |
commit | e53f0edb5345eec170e88ff4436331a851cd5386 (patch) | |
tree | b9c9a6e3ef66707e0d5a3df93765d74fd7776d30 /slave.Dockerfile | |
parent | e4de321c6e96eaa24639ed05befcea62dc3b3182 (diff) | |
download | arch32-slave-e53f0edb5345eec170e88ff4436331a851cd5386.tar.xz |
initialize the slave
Diffstat (limited to 'slave.Dockerfile')
-rw-r--r-- | slave.Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/slave.Dockerfile b/slave.Dockerfile index f0182d3..2cdb622 100644 --- a/slave.Dockerfile +++ b/slave.Dockerfile @@ -5,7 +5,7 @@ WORKDIR /builder/ RUN pacman-key --init RUN curl -Ss https://arch.eckner.net/README | sed 's@^Server = https:.*$@Include = /etc/pacman.d/mirrorlist \\@' | bash COPY mirrorlist /etc/pacman.d/ -RUN pacman -Syu --noconfirm git +RUN pacman -Syu --noconfirm git openssh RUN sed -i ' \ /PACKAGER/ s/.*/PACKAGER="Erich Eckner <arch at eckner dot net>"/; \ /^OPTIONS/ s/ debug/ !debug/ \ @@ -19,4 +19,8 @@ RUN chown builder:builder /builder/work USER builder +RUN /builder/lib/load-configuration +RUN rm /builder/work/.ssh/id_rsa /builder/work/.ssh/id_rsa.pub +COPY slave.conf /builder/conf/ + CMD /builder/bin/build-packages |