Skip to content

Commit

Permalink
fix Privilege and Configuration issues (#1160)
Browse files Browse the repository at this point in the history
* fix asoc sast PrivilegeEscalation and Configuration issues

Signed-off-by: Akihiko Kuroda <[email protected]>
  • Loading branch information
akihikokuroda authored Jan 18, 2024
1 parent c9cb603 commit 9aa8a18
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- name: Build the containers
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile-notebook
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ USER $NB_UID
COPY --chown=$NB_UID:$NB_UID ./client ./qs

WORKDIR /qs
RUN pip install . --no-cache-dir &&\
RUN pip install --upgrade pip &&\
pip install . --no-cache-dir &&\
pip install --no-cache-dir -r requirements-notebook.txt

WORKDIR /
Expand Down
7 changes: 4 additions & 3 deletions docker-compose-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ services:
]
ports:
- 8265:8265
privileged: true
volumes:
- /dev/shm:/dev/shm
- host-shm:/dev/shm
networks:
- safe-tier
postgres:
Expand Down Expand Up @@ -143,7 +142,7 @@ services:
image: grafana/promtail:2.8.4
profiles: [ "full" ]
volumes:
- /var/log:/var/log
- host-log:/var/log
command: -config.file=/etc/promtail/config.yml
networks:
- safe-tier
Expand All @@ -158,3 +157,5 @@ networks:
safe-tier:
volumes:
program-artifacts:
host-shm:
host-log:
7 changes: 4 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ services:
]
ports:
- 8265:8265
privileged: true
volumes:
- /dev/shm:/dev/shm
- host-shm:/dev/shm
networks:
- safe-tier
postgres:
Expand Down Expand Up @@ -131,7 +130,7 @@ services:
image: grafana/promtail:2.8.4
profiles: [ "full" ]
volumes:
- /var/log:/var/log
- host-log:/var/log
command: -config.file=/etc/promtail/config.yml
networks:
- safe-tier
Expand All @@ -146,3 +145,5 @@ networks:
safe-tier:
volumes:
program-artifacts:
host-shm:
host-log:

0 comments on commit 9aa8a18

Please sign in to comment.