Skip to content

Commit

Permalink
Fix macos Desktop install
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Tardif <[email protected]>
  • Loading branch information
gtardif committed Jan 14, 2025
1 parent 477d836 commit b2566b9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions start/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ runs:
buildUrl="https://desktop.docker.com/mac/main/amd64/Docker.dmg"
fi
sudo mkdir -p /Library/PrivilegedHelperTools
curl --fail -o ./temp/DockerDesktop.dmg $buildUrl
/usr/bin/hdiutil attach -noverify ./temp/DockerDesktop.dmg -mountpoint ./mount/desktop -nobrowse
echo "dmg mounted"
sudo ./mount/desktop/Docker.app/Contents/MacOS/install --accept-license
sudo ./mount/desktop/Docker.app/Contents/MacOS/install --accept-license --user ${{inputs.username}}
echo "dmg installed"
echo "ls /Library/Application Support/com.docker.docker"
Expand All @@ -58,11 +59,7 @@ runs:
shell: bash
env: ${{fromJson(inputs.env)}}
run: |
sudo mkdir -p /Library/PrivilegedHelperTools
sudo /Applications/Docker.app/Contents/MacOS/install config --user ${{inputs.username}}
sudo /Applications/Docker.app/Contents/MacOS/install vmnetd
echo "app installed"
/usr/bin/open /Applications/Docker.app --args --unattended --add-host-docker-internal-registry
/usr/bin/open /Applications/Docker.app --args --unattended --telemetry
echo "Docker starting..."
- name: Download appcast
Expand Down

0 comments on commit b2566b9

Please sign in to comment.