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:
		@@ -39,9 +39,9 @@ RUN mkdir /var/run/sshd && \
 | 
			
		||||
RUN mkdir /cb-build && \
 | 
			
		||||
	chown coreboot:coreboot /cb-build && \
 | 
			
		||||
	echo "tmpfs /cb-build tmpfs rw,mode=1777 0 0" > /etc/fstab && \
 | 
			
		||||
	mkdir -p /home/coreboot/slave-root/workspace && \
 | 
			
		||||
	chown -R coreboot:coreboot /home/coreboot/slave-root && \
 | 
			
		||||
	echo "tmpfs /home/coreboot/slave-root/workspace tmpfs rw,mode=1777 0 0" >> /etc/fstab && \
 | 
			
		||||
	mkdir -p /home/coreboot/agent-root/workspace && \
 | 
			
		||||
	chown -R coreboot:coreboot /home/coreboot/agent-root && \
 | 
			
		||||
	echo "tmpfs /home/coreboot/agent-root/workspace tmpfs rw,mode=1777 0 0" >> /etc/fstab && \
 | 
			
		||||
	chown coreboot:coreboot /home/coreboot/.ccache && \
 | 
			
		||||
	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
 | 
			
		||||
ENTRYPOINT mount /cb-build && \
 | 
			
		||||
	mount /home/coreboot/slave-root/workspace && \
 | 
			
		||||
	chown -R coreboot:coreboot /home/coreboot/slave-root && \
 | 
			
		||||
	mount /home/coreboot/agent-root/workspace && \
 | 
			
		||||
	chown -R coreboot:coreboot /home/coreboot/agent-root && \
 | 
			
		||||
	mount /home/coreboot/.ccache && \
 | 
			
		||||
	chown coreboot:coreboot /home/coreboot/.ccache && \
 | 
			
		||||
	/usr/sbin/sshd -p 49151 -D
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user