Sebastian Frank apairon

namira-cortex (latest)

Published 2026-04-11 15:23:06 +02:00 by apairon

Installation

docker pull gitbase.de/apairon/namira-cortex:latest
sha256:26a69ac311f28ec0b5d7dd540bca8c2f8fc211cf4cbf4365551e41429ad532e6

About this package

Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.

Image Layers

LABEL org.opencontainers.image.title=Arch Linux base Image
LABEL org.opencontainers.image.description=Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.
LABEL org.opencontainers.image.authors=Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
LABEL org.opencontainers.image.url=https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
LABEL org.opencontainers.image.documentation=https://wiki.archlinux.org/title/Docker#Arch_Linux
LABEL org.opencontainers.image.source=https://gitlab.archlinux.org/archlinux/archlinux-docker
LABEL org.opencontainers.image.licenses=GPL-3.0-or-later
LABEL org.opencontainers.image.version=20260405.0.511327
LABEL org.opencontainers.image.revision=0d7c4c0017584f9bcb495105cc412d6575f04564
LABEL org.opencontainers.image.created=2026-04-05T00:07:03+00:00
COPY /rootfs/ / # buildkit
RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20260405.0.511327' /etc/os-release # buildkit
ENV LANG=C.UTF-8
CMD ["/usr/bin/bash"]
RUN /bin/sh -c pacman -Suy --noconfirm # buildkit
RUN /bin/sh -c groupadd -g 900 docker # buildkit
RUN /bin/sh -c groupadd -g 101 coder && useradd -m -G wheel,docker -s /bin/zsh -u 100 -g 101 coder && usermod -p '*' coder && echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm base-devel sudo curl wget ca-certificates ca-certificates-utils ca-certificates-mozilla unzip less pv jq yq tree zsh zsh-completions zsh-autosuggestions zsh-syntax-highlighting tmux fzf git git-lfs git-crypt tig openssh vim vi ripgrep fd bat eza xh htop strace shellcheck watchexec direnv hyperfine git-delta difftastic moreutils expect mkcert inetutils net-tools bind-tools nmap tcpdump && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm go nodejs yarn npm php ruby lua && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm jdk-openjdk && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm rust clang cmake gdb && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm python-pip python-pipx python-virtualenv python-pytest mypy ruff python-pandas python-openpyxl python-numpy python-matplotlib python-requests python-beautifulsoup4 python-lxml python-pillow python-tabulate python-pyyaml python-rich python-pydantic ipython python-jinja python-scipy python-seaborn && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm docker docker-buildx docker-compose lxc e2fsprogs mariadb-clients postgresql-libs redis sqlite && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm ansible github-cli imagemagick graphviz grunt-cli pandoc poppler ffmpeg tesseract tesseract-data-eng tesseract-data-deu && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c update-ca-trust # buildkit
RUN /bin/sh -c pacman -Syy --noconfirm at-spi2-core libxkbcommon libxcomposite libxdamage libxrandr mesa alsa-lib nss cups chromium && pacman -Scc --noconfirm # buildkit
RUN /bin/sh -c mkdir -p /opt/google/chrome && ln -sf /usr/sbin/chromium /opt/google/chrome/chrome # buildkit
RUN /bin/sh -c curl https://i.jpillora.com/chisel! | bash # buildkit
RUN /bin/sh -c wget -O /usr/local/bin/erd https://github.com/kaishuu0123/erd-go/releases/download/v2.0.0/linux_amd64_erd-go && chmod +x /usr/local/bin/erd # buildkit
RUN /bin/sh -c su - coder -c "git clone https://aur.archlinux.org/yay.git /tmp/yay && cd /tmp/yay && makepkg -si --noconfirm" && rm -rf /tmp/yay # buildkit
RUN /bin/sh -c su - coder -c "yay -S --noconfirm code-server" # buildkit
RUN /bin/sh -c su - coder -c "yay -S --noconfirm mongodb-bin mongodb-tools-bin" # buildkit
RUN /bin/sh -c su - coder -c "yay -S --noconfirm lazygit tini go-task-bin gitea-tea-bin" # buildkit
RUN /bin/sh -c npm install -g typescript prettier eslint markdownlint-cli2 # buildkit
RUN /bin/sh -c su - coder -c "npm install -g playwright && PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npx playwright install-deps 2>/dev/null || true" # buildkit
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/sbin/chromium
ENV PUPPETEER_EXECUTABLE_PATH=/usr/sbin/chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
RUN /bin/sh -c npm install -g --prefix /usr @sentry/mcp-server @hypnosis/docker-mcp-server @playwright/mcp a11y-mcp # buildkit
RUN /bin/sh -c pip install --break-system-packages csvkit # buildkit
RUN /bin/sh -c pip install --break-system-packages uv # buildkit
RUN /bin/sh -c pip install --break-system-packages "markitdown-mcp[all]" # buildkit
RUN /bin/sh -c mkdir -p /home/coder/.npm-global/bin /home/coder/.npm && chown -R coder:coder /home/coder/.npm-global /home/coder/.npm # buildkit
ENV NPM_CONFIG_PREFIX=/home/coder/.npm-global
ENV PATH=/home/coder/.npm-global/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY sshd_config /etc/ssh/sshd_config # buildkit
VOLUME [/etc/ssh/hostkeys]
COPY start-code-server.sh / # buildkit
EXPOSE [8080/tcp]
ENTRYPOINT ["/usr/bin/tini" "--"]
CMD ["/start-code-server.sh"]
USER root
ARG ONNXRUNTIME_VERSION=1.24.1
ARG TOKENIZERS_VERSION=v1.27.0
RUN |2 ONNXRUNTIME_VERSION=1.24.1 TOKENIZERS_VERSION=v1.27.0 /bin/sh -c curl -sSL "https://github.com/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-linux-x64-${ONNXRUNTIME_VERSION}.tgz" | tar -xz --strip-components=1 -C /usr/local && ldconfig # buildkit
RUN |2 ONNXRUNTIME_VERSION=1.24.1 TOKENIZERS_VERSION=v1.27.0 /bin/sh -c curl -sSL "https://github.com/daulet/tokenizers/releases/download/${TOKENIZERS_VERSION}/libtokenizers.linux-amd64.tar.gz" | tar -xz -C /usr/local/lib/ # buildkit
WORKDIR /app
COPY go.mod go.sum ./ # buildkit
RUN |2 ONNXRUNTIME_VERSION=1.24.1 TOKENIZERS_VERSION=v1.27.0 /bin/sh -c go mod download # buildkit
COPY . . # buildkit
RUN |2 ONNXRUNTIME_VERSION=1.24.1 TOKENIZERS_VERSION=v1.27.0 /bin/sh -c CGO_ENABLED=1 CGO_LDFLAGS="-L/usr/local/lib -ltokenizers -lm -ldl -lstdc++" go build -tags cgo_embedding -ldflags="-s -w" -o /usr/local/bin/cortex ./cmd/cortex # buildkit
RUN |2 ONNXRUNTIME_VERSION=1.24.1 TOKENIZERS_VERSION=v1.27.0 /bin/sh -c cp -r static/ /app/static/ 2>/dev/null || true && cp -r templates/ /app/templates/ 2>/dev/null || true && cp -r configs/ /app/configs/ 2>/dev/null || true # buildkit
ENV CORTEX_HOST=0.0.0.0 CORTEX_PORT=8765 CORTEX_MODEL_PATH=/models/bge-m3 CORTEX_COLLECTION=mira_memories CORTEX_QDRANT_HOST=qdrant CORTEX_QDRANT_PORT=6334
EXPOSE [8765/tcp]
ENTRYPOINT ["cortex"]

Labels

Key Value
org.opencontainers.image.authors Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
org.opencontainers.image.created 2026-04-05T00:07:03+00:00
org.opencontainers.image.description Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.
org.opencontainers.image.documentation https://wiki.archlinux.org/title/Docker#Arch_Linux
org.opencontainers.image.licenses GPL-3.0-or-later
org.opencontainers.image.revision 0d7c4c0017584f9bcb495105cc412d6575f04564
org.opencontainers.image.source https://gitlab.archlinux.org/archlinux/archlinux-docker
org.opencontainers.image.title Arch Linux base Image
org.opencontainers.image.url https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
org.opencontainers.image.version 20260405.0.511327
Details
Container
2026-04-11 15:23:06 +02:00
0
OCI / Docker
linux/amd64
Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
GPL-3.0-or-later
5.2 GiB
Versions (1) View all
latest 2026-04-11