Skip to content

Commit

Permalink
fix: Base the image on busybox
Browse files Browse the repository at this point in the history
The healhck binary depends on glibc.
  • Loading branch information
prantlf committed Jun 9, 2024
1 parent 299f5d5 commit 706c2fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN go build -trimpath -gcflags=all="-B" -ldflags="-s -w -buildid=" -o ovai ./cm
FROM prantlf/healthchk as healthchk

# FROM gcr.io/distroless/static-debian12
FROM scratch
FROM busybox:stable
LABEL maintainer="Ferdinand Prantl <prantlf@gmail.com>"

# RUN apt-get update -y && apt-get upgrade -y && \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ovai - ollama-vertex-ai

REST API proxy to [Vertex AI] with the interface of [ollama]. HTTP server for accessing `Vertex AI` via the REST API interface of `ollama`. Optionally forwarding requests with other models to `ollama`. Written in [Go].
HTTP proxy for accessing [Vertex AI] with the REST API interface of [ollama]. Optionally forwarding requests for other models to `ollama`. Written in [Go].

## Synopsis

Expand Down Expand Up @@ -80,7 +80,7 @@ For example, run a container named `ovai` in the background with custom defaults
-e OLLAMA_ORIGIN=http://host.docker.internal:11434 \
-v ${PWD}/google-account.json:/usr/src/app/google-account.json \
-v ${PWD}/model-defaults.json:/usr/src/app/model-defaults.json \
ghcr.io/prantlf/ovai
prantlf/ovai

And the same task as above, only using Docker Compose (place [docker-compose.yml] to the current directory) to make it easier:

Expand Down

0 comments on commit 706c2fa

Please sign in to comment.