Skip to content

Commit a7e7afa

Browse files
authored
fix machine-id of the docker image (#205)
the CI suddenly failed due to empty /etc/machine-id error updated the docker image by copying https://github.com/eclipse-cbi/jiro-agents/blob/a892e25179578ba4d99abc79524d1ecdbf25d4dd/centos-7/Dockerfile#L93 Signed-off-by: Didier Vojtisek <[email protected]>
1 parent c29b496 commit a7e7afa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev_support/jenkins/docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ RUN yum update -y \
101101
&& yum clean all
102102

103103
RUN ln -s /usr/bin/git /usr/local/bin/git \
104-
&& ln -s /bin/bash /usr/local/bin/hipp_shell
104+
&& ln -s /bin/bash /usr/local/bin/hipp_shell \
105+
&& if [ ! -a /etc/machine-id ] || [ ! -s /etc/machine-id ]; then dbus-uuidgen > /etc/machine-id; fi
105106

106107
ENV HOME=/home/jenkins
107108
ENV DISPLAY :0

0 commit comments

Comments
 (0)