Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions containers/ei-models-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ FROM public.ecr.aws/g7a8t7v6/inference-container-qc-adreno-702:v1.84.1

# Create the user and group needed to run the container as non-root
RUN set -ex; \
groupadd -g 44 video || true; \
groupadd -g 29 audio || true; \
groupadd -g 991 render || true; \
groupadd -g 1000 arduino || true; \
useradd -u 1000 -g arduino -G audio,video,render -ms /bin/bash arduino
useradd -u 1000 -g arduino -ms /bin/bash arduino

# Add all EI OOTB models to the container with specific ownership
COPY --chown=arduino:arduino ./models/ei-ootb-models/arm64/* /models/ootb/ei/
Expand Down
7 changes: 1 addition & 6 deletions containers/python-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,8 @@ COPY --from=builder /usr/local/lib/python3.13/site-packages /usr/local/lib/pytho
COPY --from=builder /usr/local/bin /usr/local/bin

RUN set -ex; \
groupadd -g 44 video || true; \
groupadd -g 29 audio || true; \
groupadd -g 20 dialout || true; \
groupadd -g 991 render || true; \
groupadd -g 1000 arduino || true; \
groupadd -g 1001 gpiod || true; \
useradd -u 1000 -g arduino -G audio,video,dialout,render,gpiod -ms /bin/bash arduino; \
useradd -u 1000 -g arduino -ms /bin/bash arduino; \
apt-get update -y; \
apt-get upgrade -y; \
apt-get install --no-install-recommends -y libglib2.0-0 alsa-utils inotify-tools wget libzbar0 portaudio19-dev; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
max-file: "2"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "render"
ports:
- ${BIND_ADDRESS:-127.0.0.1}:1339:1337
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
max-file: "2"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "render"
ports:
- ${BIND_ADDRESS:-127.0.0.1}:1338:1337
volumes:
Expand Down
2 changes: 0 additions & 2 deletions src/arduino/app_bricks/keyword_spotting/brick_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
max-file: "2"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "render"
ports:
- ${BIND_ADDRESS:-127.0.0.1}:1340:1337
volumes:
Expand Down
2 changes: 0 additions & 2 deletions src/arduino/app_bricks/motion_detection/brick_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
max-file: "2"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "render"
ports:
- ${BIND_ADDRESS:-127.0.0.1}:1341:1337
volumes:
Expand Down
4 changes: 1 addition & 3 deletions src/arduino/app_bricks/object_detection/brick_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
max-file: "2"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "render"
ports:
- ${BIND_ADDRESS:-127.0.0.1}:1337:1337
volumes:
Expand All @@ -20,4 +18,4 @@ services:
interval: 2s
timeout: 2s
retries: 25


Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ services:
max-file: "2"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "render"
ports:
- ${BIND_ADDRESS:-127.0.0.1}:1342:1337
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
max-file: "2"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "render"
ports:
- ${BIND_ADDRESS:-127.0.0.1}:1343:1337
volumes:
Expand Down