@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

next
install 24 lines 990 Bytes
Raw
1 # Base images are digest-pinned for supply-chain integrity. ECR Public mirrors the
2 # Docker Official Images, so builds do not depend on Docker Hub availability, but
3 # its anonymous rate limit can still return 429 on shared runner IPs; CI mitigates
4 # that by retrying with backoff (see .github/actions/build-e2e-image).
5 ARG BASE_REGISTRY=public.ecr.aws/docker/library
6
7 FROM ${BASE_REGISTRY}/debian:bookworm-slim@sha256:7c7b2c966bc9ee8cedfeef67e0e279108992c77681fa595db4a9d65c06ccc587
8
9 ARG INSTALL_SHELL=bash
10
11 RUN case "$INSTALL_SHELL" in bash|zsh|fish) ;; *) exit 2 ;; esac && \
12 apt-get update && \
13 apt-get install -y --no-install-recommends bash ca-certificates curl passwd unzip $([ "$INSTALL_SHELL" = bash ] || printf '%s' "$INSTALL_SHELL") && \
14 rm -rf /var/lib/apt/lists/* && \
15 useradd -m -s "/bin/$INSTALL_SHELL" composio
16
17 ENV HOME=/home/composio
18 ENV SHELL=/bin/$INSTALL_SHELL
19 ENV PATH=/usr/local/bin:/usr/bin:/bin
20
21 USER composio
22 WORKDIR /home/composio
23
24 CMD ["/bin/sh"]