Skip to content

Commit

Permalink
feat: try to give perms
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinFillon committed Jun 3, 2024
1 parent b369459 commit 7ed82b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cpp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
run: |
docker build -t zappy-docker - < Dockerfile
- name: pwd
run: echo $(pwd)

- name: compile
run: |
docker run -v $(pwd):/home/student/dev zappy-docker:latest make -C gui
docker run -v --privileged=true "$(pwd):/home/student/dev" zappy-docker:latest make -C gui
timeout-minutes: 5
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ RUN dnf -y install asio-devel
RUN adduser -G wheel student
USER student
RUN mkdir -p /home/student/dev
RUN chmod 777 /home/student/dev
RUN chown student /home/student/dev
WORKDIR /home/student/dev
CMD ["bash"]

0 comments on commit 7ed82b6

Please sign in to comment.