Skip to content

Commit

Permalink
Remove no-new-privileges as sudo is needed to install azure cli
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Nov 27, 2024
1 parent d3583cd commit abd3a70
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'

services:
# nosemgrep: yaml.docker-compose.security.writable-filesystem-service.writable-filesystem-service
# nosemgrep: yaml.docker-compose.security.writable-filesystem-service.writable-filesystem-service, yaml.docker-compose.security.no-new-privileges.no-new-privileges
python-{{cookiecutter.python_version}}-{{cookiecutter.project_slug}}:
image: mcr.microsoft.com/devcontainers/python:{{cookiecutter.python_version}}
container_name: {{cookiecutter.project_slug}}-${USER}-python-{{cookiecutter.python_version}}
Expand All @@ -14,8 +14,6 @@ services:
{% endif %}
env_file:
- ./devcontainer.env
security_opt:
- no-new-privileges:true
networks:
- {{cookiecutter.project_slug}}-network
{% if "nats" in cookiecutter.app_type %}
Expand Down

0 comments on commit abd3a70

Please sign in to comment.