Disable automatic upgrades on Docker hosts
diff --git a/buildkite/setup-docker.sh b/buildkite/setup-docker.sh
index 8cd6205..90522a6 100755
--- a/buildkite/setup-docker.sh
+++ b/buildkite/setup-docker.sh
@@ -32,6 +32,13 @@
   apt-get -qqy install python nfs-common
 }
 
+### Disable automatic upgrades, as they can interfere with our startup scripts.
+{
+  cat > /etc/apt/apt.conf.d/10periodic <<'EOF'
+APT::Periodic::Enable "0";
+EOF
+}
+
 ### Add our Cloud Filestore volume to the fstab.
 {
   case $(hostname -f) in