Skip to content

Commit

Permalink
configure inotify (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmasi authored Oct 12, 2022
1 parent 1b4d206 commit a20cc6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudbuild/external.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ build {
"sudo apt-get -o DPkg::Lock::Timeout=60 install docker-ce docker-ce-cli containerd.io build-essential -y",
"sudo usermod -aG docker $USER",
"sudo docker version",
"sudo sysctl fs.inotify.max_user_instances=64000", # configure inotify for cisco containers
"sudo sysctl -p",
]
}

Expand Down
2 changes: 2 additions & 0 deletions cloudbuild/internal.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ build {
"sudo apt-get -o DPkg::Lock::Timeout=60 install docker-ce docker-ce-cli containerd.io build-essential -y",
"sudo usermod -aG docker $USER",
"sudo docker version",
"sudo sysctl fs.inotify.max_user_instances=64000", # configure inotify for cisco containers
"sudo sysctl -p",
"echo Pulling containers...",
"gcloud auth configure-docker us-west1-docker.pkg.dev -q", # configure sudoless docker
"sudo gcloud auth configure-docker us-west1-docker.pkg.dev -q", # configure docker with sudo
Expand Down

0 comments on commit a20cc6f

Please sign in to comment.