Skip to content

Commit 93bb21e

Browse files
authored
Changed engine runner not to use shell for subprocess (#704)
1 parent ea0bbb8 commit 93bb21e

18 files changed

+138
-85
lines changed

docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ COPY --from=opa-extractor /opal/opa ./opa
116116

117117
# enable inline OPA
118118
ENV OPAL_INLINE_OPA_ENABLED=true
119+
ENV OPAL_INLINE_OPA_EXEC_PATH=/opal/opa
119120
# expose opa port
120121
EXPOSE 8181
121122
USER opal
@@ -134,6 +135,7 @@ COPY --from=cedar-builder /tmp/cedar-agent/target/*/cedar-agent /bin/cedar-agent
134135
# enable inline Cedar agent
135136
ENV OPAL_POLICY_STORE_TYPE=CEDAR
136137
ENV OPAL_INLINE_CEDAR_ENABLED=true
138+
ENV OPAL_INLINE_CEDAR_EXEC_PATH=/bin/cedar-agent
137139
ENV OPAL_INLINE_CEDAR_CONFIG='{"addr": "0.0.0.0:8180"}'
138140
ENV OPAL_POLICY_STORE_URL=http://localhost:8180
139141
# expose cedar port

docker/docker-compose-api-policy-source-example.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: opal-api-policy-source-example
2+
13
services:
24
# When scaling the opal-server to multiple nodes and/or multiple workers, we use
35
# a *broadcast* channel to sync between all the instances of opal-server.

docker/docker-compose-example-cedar.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: opal-cedar-example
2+
13
services:
24
# When scaling the opal-server to multiple nodes and/or multiple workers, we use
35
# a *broadcast* channel to sync between all the instances of opal-server.

docker/docker-compose-example.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: opal-example
2+
13
services:
24
# When scaling the opal-server to multiple nodes and/or multiple workers, we use
35
# a *broadcast* channel to sync between all the instances of opal-server.

docker/docker-compose-git-webhook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: opal-git-webhook-example
2+
13
services:
24
# When scaling the opal-server to multiple nodes and/or multiple workers, we use
35
# a *broadcast* channel to sync between all the instances of opal-server.

docker/docker-compose-scopes-example.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: opal-scopes-example
2+
13
services:
24
redis:
35
image: redis

docker/docker-compose-with-callbacks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: opal-callbacks-example
2+
13
services:
24
# When scaling the opal-server to multiple nodes and/or multiple workers, we use
35
# a *broadcast* channel to sync between all the instances of opal-server.

docker/docker-compose-with-kafka-example.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: opal-kafka-example
12

23
services:
34
# Based on: https://developer.confluent.io/quickstart/kafka-docker/

docker/docker-compose-with-oauth-initial.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: opal-oauth-example
2+
13
services:
24
# When scaling the opal-server to multiple nodes and/or multiple workers, we use
35
# a *broadcast* channel to sync between all the instances of opal-server.

0 commit comments

Comments
 (0)