Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: version up the Deno codebase to 1.45.2 #389

Merged
merged 20 commits into from
Aug 21, 2024
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
8 changes: 7 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/rust:dev-1-bookworm

ARG TARGETPLATFORM
ARG ONNXRUNTIME_VERSION
ARG DENO_VERSION

RUN apt-get update && apt-get install -y build-essential cmake libclang-dev lldb \
nodejs npm hyperfine
Expand All @@ -17,4 +18,9 @@ RUN mkdir -p /etc/sb_ai && cp -r /tmp/models /etc/sb_ai/models
ENV ORT_DYLIB_PATH=/usr/local/bin/libonnxruntime.so
ENV SB_AI_MODELS_DIR=/etc/sb_ai/models

RUN curl -fsSL https://ollama.com/install.sh | sh
# Ollama
RUN curl -fsSL https://ollama.com/install.sh | sh

# Deno
RUN curl -fsSL https://deno.land/install.sh | sh
RUN deno upgrade --version $DENO_VERSION
6 changes: 4 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"ONNXRUNTIME_VERSION": "1.17.0"
"ONNXRUNTIME_VERSION": "1.17.0",
"DENO_VERSION": "1.45.2"
}
},
"features": {
Expand All @@ -31,7 +32,8 @@
"eamodio.gitlens",
"ms-azuretools.vscode-docker",
"ms-vscode.hexeditor",
"vadimcn.vscode-lldb"
"vadimcn.vscode-lldb",
"denoland.vscode-deno"
]
}
}
Expand Down
Loading