summaryrefslogtreecommitdiff
path: root/slave.Dockerfile
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 08:30:20 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 08:30:20 +0200
commitdad0e7c8f407ac9827d79d484144b9200f4b6cb9 (patch)
treefaa14d3107cfbf10bace6e97c0f6eba9f3737128 /slave.Dockerfile
parente53f0edb5345eec170e88ff4436331a851cd5386 (diff)
downloadarch32-slave-dad0e7c8f407ac9827d79d484144b9200f4b6cb9.tar.xz
bootstrap [releng]
Diffstat (limited to 'slave.Dockerfile')
-rw-r--r--slave.Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/slave.Dockerfile b/slave.Dockerfile
index 2cdb622..e1eba96 100644
--- a/slave.Dockerfile
+++ b/slave.Dockerfile
@@ -3,14 +3,16 @@ FROM archlinux:base-devel
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 openssh
+RUN sed -i '/# The testing repositories are disabled by default/ i Include = /etc/pacman.d/pacman-releng.conf' /etc/pacman.conf
+COPY pacman-releng.conf mirrorlist /etc/pacman.d/
+COPY bootstrap-arch32-trust /
+RUN /bootstrap-arch32-trust
+RUN rm /bootstrap-arch32-trust
+RUN pacman -Syu --noconfirm git openssh lsof moreutils wget devtools32
RUN sed -i ' \
/PACKAGER/ s/.*/PACKAGER="Erich Eckner <arch at eckner dot net>"/; \
/^OPTIONS/ s/ debug/ !debug/ \
' /etc/makepkg.conf
-
RUN useradd -m builder
RUN git clone https://git.archlinux32.org/builder/ /builder
RUN mkdir /builder/work