Browse Source

ref: work around docker 4.11 never starting (#37780)

anthony sottile 2 years ago
parent
commit
406a99f17a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/development-environment.yml

+ 3 - 1
.github/workflows/development-environment.yml

@@ -40,7 +40,9 @@ jobs:
       # NOTE: This can sometimes take up to 10 minutes
       - name: Install Docker
         run: |
-          HOMEBREW_NO_AUTO_UPDATE=1 brew install -v --cask docker
+          # d4m 4.11+ never starts: https://github.com/docker/for-mac/issues/6450
+          curl -o /tmp/docker.rb https://raw.githubusercontent.com/Homebrew/homebrew-cask/fe866ec0765de141599745f03e215452db7f511b/Casks/docker.rb
+          HOMEBREW_NO_AUTO_UPDATE=1 brew install -v --HEAD -s /tmp/docker.rb
           sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
           open -a /Applications/Docker.app --args --unattended --accept-license