Add actor-owned contextual process provisioning, descriptor bootstrap, scoped namespace operations, Python bindings, Myelin orchestration, and adversarial end-to-end coverage. Remove the superseded job runner, pipeline APIs, images, entrypoints, and specifications.
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
# Myelin node base: CUDA runtime, SSH bootstrap, and the Myelin agent only.
|
|
# Frameworks belong to workload-specific images, not the control-plane agent image.
|
|
# Build from workspace root:
|
|
# docker build -f apps/myelin/node-image/Dockerfile.base -t myelin-node-base:cuda12.6 .
|
|
|
|
FROM nvidia/cuda:12.6.3-runtime-ubuntu24.04
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
procps \
|
|
openssh-server && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* \
|
|
/var/cache/apt/archives/* \
|
|
/var/cache/apt/*.bin \
|
|
/var/log/apt/* \
|
|
/var/log/dpkg.log \
|
|
/tmp/* \
|
|
/var/tmp/* \
|
|
/usr/share/doc/* \
|
|
/usr/share/man/* \
|
|
/usr/share/info/* && \
|
|
mkdir -p /usr/local/share/myelin /var/cache/myelin-contexts /var/log
|
|
|
|
COPY apps/myelin/node-image/myelin_entrypoint.sh /usr/local/bin/myelin_entrypoint.sh
|
|
RUN chmod +x /usr/local/bin/myelin_entrypoint.sh
|
|
|
|
ARG DEPLOY_PUBKEY=""
|
|
RUN if [ -n "$DEPLOY_PUBKEY" ]; then printf '%s\n' "$DEPLOY_PUBKEY" > /etc/myelin_deploy_key.pub; fi
|
|
|
|
ENTRYPOINT ["/usr/local/bin/myelin_entrypoint.sh"]
|