summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 08:09:05 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 08:09:05 +0200
commite53f0edb5345eec170e88ff4436331a851cd5386 (patch)
treeb9c9a6e3ef66707e0d5a3df93765d74fd7776d30
parente4de321c6e96eaa24639ed05befcea62dc3b3182 (diff)
downloadarch32-slave-e53f0edb5345eec170e88ff4436331a851cd5386.tar.xz
initialize the slave
-rw-r--r--slave.Dockerfile6
-rw-r--r--slave.conf1
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'