summaryrefslogtreecommitdiff
path: root/util/docker
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2020-10-25 18:44:35 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-10-27 10:09:50 +0000
commit2aba15fce15eca22dd458c852e453f6a79347e41 (patch)
treed099ef632de21f0114e53d7f4c5b35a083f9ae3f /util/docker
parenta266299490167a9c7f5f6f663a16a6af03678e3c (diff)
util/docker: Update atime mount point options for jenkins
- The ccache files don't need atime. - Enable strict atime for the git repos. This will help find unused files. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I94bcc55ea5c5a74f3ad0292ca50b74874a0d920d Reviewed-on: https://review.coreboot.org/c/coreboot/+/46804 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/docker')
-rw-r--r--util/docker/coreboot-jenkins-node/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/docker/coreboot-jenkins-node/Dockerfile b/util/docker/coreboot-jenkins-node/Dockerfile
index e9d866b31a..36b77d6398 100644
--- a/util/docker/coreboot-jenkins-node/Dockerfile
+++ b/util/docker/coreboot-jenkins-node/Dockerfile
@@ -38,10 +38,10 @@ RUN mkdir /var/run/sshd && \
# Create tmpfs directories to build in
RUN mkdir /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,noatime 0 0" > /etc/fstab && \
mkdir -p /home/coreboot/node-root/workspace && \
chown -R coreboot:coreboot /home/coreboot/node-root && \
- echo "tmpfs /home/coreboot/node-root/workspace tmpfs rw,mode=1777 0 0" >> /etc/fstab && \
+ echo "tmpfs /home/coreboot/node-root/workspace tmpfs rw,mode=1777,strictatime,atime 0 0" >> /etc/fstab && \
chown coreboot:coreboot /home/coreboot/.ccache && \
echo "tmpfs /home/coreboot/.ccache tmpfs rw,mode=1777 0 0" >> /etc/fstab