Fix up Docker paths to match jenkins nomenclature

Jenkins is calling its build nodes "agent". Reflect that in
the path names we use in configuration.

Change-Id: I88a4d3d32a565ade768e3de6428f46d355bedfb2
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42819
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Stefan Reinauer 2020-06-25 11:29:25 -07:00
parent ad977efa23
commit 88e54e38d4
1 changed files with 5 additions and 5 deletions

View File

@ -39,9 +39,9 @@ RUN mkdir /var/run/sshd && \
RUN mkdir /cb-build && \ RUN mkdir /cb-build && \
chown coreboot:coreboot /cb-build && \ chown coreboot:coreboot /cb-build && \
echo "tmpfs /cb-build tmpfs rw,mode=1777 0 0" > /etc/fstab && \ echo "tmpfs /cb-build tmpfs rw,mode=1777 0 0" > /etc/fstab && \
mkdir -p /home/coreboot/slave-root/workspace && \ mkdir -p /home/coreboot/agent-root/workspace && \
chown -R coreboot:coreboot /home/coreboot/slave-root && \ chown -R coreboot:coreboot /home/coreboot/agent-root && \
echo "tmpfs /home/coreboot/slave-root/workspace tmpfs rw,mode=1777 0 0" >> /etc/fstab && \ echo "tmpfs /home/coreboot/agent-root/workspace tmpfs rw,mode=1777 0 0" >> /etc/fstab && \
chown coreboot:coreboot /home/coreboot/.ccache && \ chown coreboot:coreboot /home/coreboot/.ccache && \
echo "tmpfs /home/coreboot/.ccache tmpfs rw,mode=1777 0 0" >> /etc/fstab echo "tmpfs /home/coreboot/.ccache tmpfs rw,mode=1777 0 0" >> /etc/fstab
@ -53,8 +53,8 @@ RUN gcc -o /usr/sbin/encapsulate /tmp/encapsulate.c && \
VOLUME /data/cache VOLUME /data/cache
ENTRYPOINT mount /cb-build && \ ENTRYPOINT mount /cb-build && \
mount /home/coreboot/slave-root/workspace && \ mount /home/coreboot/agent-root/workspace && \
chown -R coreboot:coreboot /home/coreboot/slave-root && \ chown -R coreboot:coreboot /home/coreboot/agent-root && \
mount /home/coreboot/.ccache && \ mount /home/coreboot/.ccache && \
chown coreboot:coreboot /home/coreboot/.ccache && \ chown coreboot:coreboot /home/coreboot/.ccache && \
/usr/sbin/sshd -p 49151 -D /usr/sbin/sshd -p 49151 -D