Skip to content

Commit

Permalink
Chmod docker.sock when gitpod starts
Browse files Browse the repository at this point in the history
Our `ugo` tests require access to the docker daemon.  Chmod the socket
so that the user has access.

Signed-off-by: Aidan Delaney <[email protected]>
  • Loading branch information
AidanDelaney committed Feb 11, 2022
1 parent a9c6789 commit 7a49a3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ ports:
onOpen: open-preview

tasks:
- init: make build
- name: Setup
before: chmod ugo+w /var/run/docker.sock
init: make build
command: chmod ugo+w /var/run/docker.sock

github:
prebuilds:
Expand Down

0 comments on commit 7a49a3d

Please sign in to comment.