talk-ai-sandbox-exapp (sha256:69f5dba71c78a7a20fc74190a61fd3197b6ae357eacaf21ef21596ffcdfa6787)
Published 2026-10-15 13:40:14 +00:00 by dawid
Installation
docker pull git.ciepiela.org/dawid/talk-ai-sandbox-exapp@sha256:69f5dba71c78a7a20fc74190a61fd3197b6ae357eacaf21ef21596ffcdfa6787sha256:69f5dba71c78a7a20fc74190a61fd3197b6ae357eacaf21ef21596ffcdfa6787Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1791158400' |
| ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 LC_ALL=C.UTF-8 PIP_NO_CACHE_DIR=1 PIP_DISABLE_PIP_VERSION_CHECK=1 NODE_PATH=/opt/node/node_modules PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3 python3-venv nodejs npm libreoffice-writer-nogui libreoffice-calc-nogui libreoffice-impress-nogui python3-uno poppler-utils imagemagick ca-certificates coreutils procps hunspell hunspell-de-de hunspell-en-us hunspell-pl fonts-liberation2 fonts-dejavu fonts-crosextra-carlito fonts-crosextra-caladea fonts-noto-core fonts-open-sans fonts-linuxlibertine && rm -rf /var/lib/apt/lists/* /usr/share/doc/* /usr/share/man/* # buildkit |
| RUN /bin/sh -c python3 -m venv --system-site-packages /opt/venv && /opt/venv/bin/pip install python-docx==1.1.2 openpyxl==3.1.5 python-pptx==1.0.2 reportlab==4.2.5 pypdf==5.1.0 odfpy==1.4.1 pillow==11.0.0 matplotlib==3.9.2 pandas==2.2.3 XlsxWriter==3.2.0 markdown==3.7 # buildkit |
| RUN /bin/sh -c mkdir -p /opt/node && cd /opt/node && npm install --omit=dev --no-fund --no-audit docx@9.0.3 exceljs@4.4.0 pptxgenjs@3.12.0 && npm cache clean --force # buildkit |
| RUN /bin/sh -c useradd --uid 10001 --home-dir /work --shell /bin/bash sandbox && mkdir -p /work /skills && chown sandbox /work && echo 'export PATH=/opt/venv/bin:$PATH' > /etc/profile.d/venv.sh # buildkit |
| USER 10001 |
| WORKDIR /work |
| ENV HOME=/work/.home |
| CMD ["sleep" "infinity"] |
| USER root |
| ARG FRP_VERSION=0.61.1 |
| RUN |1 FRP_VERSION=0.61.1 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3-seccomp util-linux procps curl ca-certificates && arch=$(dpkg --print-architecture) && curl -fsSL "https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_${arch}.tar.gz" | tar -xz -C /tmp && install -m 0755 /tmp/frp_${FRP_VERSION}_linux_${arch}/frpc /usr/local/bin/frpc && rm -rf /tmp/frp_* /var/lib/apt/lists/* && apt-get purge -y curl && apt-get autoremove -y # buildkit |
| COPY sandbox/runner.py sandbox/exapp/jobexec.py sandbox/exapp/start.sh sandbox/exapp/harp_connect.sh /opt/exapp/ # buildkit |
| COPY skills/ /skills/ # buildkit |
| RUN |1 FRP_VERSION=0.61.1 /bin/sh -c chmod 0755 /opt/exapp/*.sh /opt/exapp/*.py && chmod -R a+rX /skills && mkdir -p /work && chmod 0755 /work # buildkit |
| WORKDIR /work |
| ENTRYPOINT ["/opt/exapp/start.sh"] |