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 | |
parent | e4de321c6e96eaa24639ed05befcea62dc3b3182 (diff) | |
download | arch32-slave-e53f0edb5345eec170e88ff4436331a851cd5386.tar.xz |
initialize the slave
-rw-r--r-- | slave.Dockerfile | 6 | ||||
-rw-r--r-- | slave.conf | 1 |
2 files changed, 6 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 diff --git a/slave.conf b/slave.conf new file mode 100644 index 0000000..4f5d66f --- /dev/null +++ b/slave.conf @@ -0,0 +1 @@ +package_key='0x5FDCA472AB93292BC678FD59255A76DB9A12601A' |