Skip to content
Merged
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
19 changes: 16 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
FROM ratio1/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-d
#FROM ratio1/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-d
FROM ratio1/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-dnctk

# Install IPFS
RUN apt-get update && apt-get install -y wget && apt-get install -y tar
# The line below was creating issues due to flaky external repos
# RUN apt-get update && apt-get install -y wget && apt-get install -y tar
# Install tools needed for the next steps without hitting flaky external repos
RUN set -eux; \
# disable NodeSource (if present) so apt won't read it
rm -f /etc/apt/sources.list.d/nodesource*.list /etc/apt/sources.list.d/nodesource*.sources || true; \
apt-get update -o Acquire::Retries=3; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
wget tar ca-certificates \
ninja-build; \
rm -rf /var/lib/apt/lists/*

RUN wget https://dist.ipfs.tech/kubo/v0.32.1/kubo_v0.32.1_linux-amd64.tar.gz && \
tar -xvzf kubo_v0.32.1_linux-amd64.tar.gz && \
Expand Down Expand Up @@ -32,9 +43,11 @@ RUN set -eux; \
# COPY ./cmds /usr/local/bin/
# RUN chmod +x /usr/local/bin/*

RUN npm install -g npm@latest @openai/codex

WORKDIR /edge_node
COPY . .
#COPY . .
COPY requirements.txt .
# RUN rm -rf /edge_node/cmds

# set a generic env variable
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile_devnet
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ RUN set -eux; \
# disable NodeSource (if present) so apt won't read it
rm -f /etc/apt/sources.list.d/nodesource*.list /etc/apt/sources.list.d/nodesource*.sources || true; \
apt-get update -o Acquire::Retries=3; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends wget tar ca-certificates; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
wget tar ca-certificates \
ninja-build; \
rm -rf /var/lib/apt/lists/*

RUN wget https://dist.ipfs.tech/kubo/v0.35.0/kubo_v0.35.0_linux-amd64.tar.gz && \
Expand Down
17 changes: 14 additions & 3 deletions Dockerfile_mainnet
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# -d for dind
FROM aidamian/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-d
#FROM aidamian/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-d
FROM ratio1/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-dnctk

# Install IPFS
RUN apt-get update && apt-get install -y wget && apt-get install -y tar

# The line below was creating issues due to flaky external repos
# RUN apt-get update && apt-get install -y wget && apt-get install -y tar
# Install tools needed for the next steps without hitting flaky external repos
RUN set -eux; \
# disable NodeSource (if present) so apt won't read it
rm -f /etc/apt/sources.list.d/nodesource*.list /etc/apt/sources.list.d/nodesource*.sources || true; \
apt-get update -o Acquire::Retries=3; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
wget tar ca-certificates \
ninja-build; \
rm -rf /var/lib/apt/lists/*

RUN wget https://dist.ipfs.tech/kubo/v0.35.0/kubo_v0.35.0_linux-amd64.tar.gz && \
tar -xvzf kubo_v0.35.0_linux-amd64.tar.gz && \
cd kubo && \
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile_testnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -d for dind
FROM aidamian/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-d
#FROM ratio1/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-dnctk
#FROM aidamian/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-d
FROM ratio1/base_edge_node:x86_64-py3.10.12-th2.3.1.cu121-tr4.43.3-dnctk

# Install IPFS
# The line below was creating issues due to flaky external repos
Expand All @@ -10,7 +10,9 @@ RUN set -eux; \
# disable NodeSource (if present) so apt won't read it
rm -f /etc/apt/sources.list.d/nodesource*.list /etc/apt/sources.list.d/nodesource*.sources || true; \
apt-get update -o Acquire::Retries=3; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends wget tar ca-certificates; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
wget tar ca-certificates \
ninja-build; \
rm -rf /var/lib/apt/lists/*

RUN wget https://dist.ipfs.tech/kubo/v0.35.0/kubo_v0.35.0_linux-amd64.tar.gz && \
Expand Down
2 changes: 2 additions & 0 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,13 @@ class JeevesCt:
JEEVES_API_SIGNATURES = [
"JEEVES_API",
"KEYSOFT_JEEVES",
"BASE_INFERENCE_API",
]

JEEVES_AGENT_SIGNATURES = [
"DOC_EMBEDDING_AGENT",
"LLM_AGENT",
"VLLM_AGENT",
]

JEEVES_PLUGIN_SIGNATURES = JEEVES_API_SIGNATURES + JEEVES_AGENT_SIGNATURES
Expand Down
6 changes: 0 additions & 6 deletions extensions/business/cerviguard/cerviguard_constants.py

This file was deleted.

210 changes: 0 additions & 210 deletions extensions/business/cerviguard/cerviguard_image_processor.py

This file was deleted.

Loading
Loading