Skip to content

Commit

Permalink
- fix: docker image linux/amd64 and linux/arm64 compatible (#70)
Browse files Browse the repository at this point in the history
* - fix: docker image to work in arm64

* - fix: update docker image
  • Loading branch information
agallardol authored Nov 26, 2024
1 parent f9f1b79 commit 66d8692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions docker-images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@

FROM denoland/deno:debian-2.1.1
RUN apt-get update && apt-get install -y curl

# Install Google Chrome
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
RUN rm google-chrome-stable_current_amd64.deb
RUN apt-get install -y chromium

ENV CHROME_PATH=/usr/bin/google-chrome
RUN apt-get update && apt-get install -y chromium
ENV CHROME_PATH=/usr/bin/chromium
2 changes: 1 addition & 1 deletion libs/shinkai-tools-runner/src/tools/deno_runner_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Default for DenoRunnerOptions {
fn default() -> Self {
Self {
context: ExecutionContext::default(),
deno_image_name: String::from("dcspark/shinkai-code-runner:0.8.0"),
deno_image_name: String::from("dcspark/shinkai-code-runner:0.8.1"),
deno_binary_path: PathBuf::from(if cfg!(windows) {
"./shinkai-tools-runner-resources/deno.exe"
} else {
Expand Down

0 comments on commit 66d8692

Please sign in to comment.