Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
85e4441c
Commit
85e4441c
authored
Nov 18, 2023
by
Jeffrey Morgan
Browse files
cache docker builds
parent
42e43736
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
+5
-0
.dockerignore
.dockerignore
+1
-0
.gitignore
.gitignore
+1
-0
scripts/build_docker.sh
scripts/build_docker.sh
+2
-0
scripts/push_docker.sh
scripts/push_docker.sh
+1
-0
No files found.
.dockerignore
View file @
85e4441c
...
...
@@ -6,3 +6,4 @@ scripts
llm/llama.cpp/ggml
llm/llama.cpp/gguf
.env
.cache
.gitignore
View file @
85e4441c
...
...
@@ -6,3 +6,4 @@
dist
ollama
ggml-metal.metal
.cache
scripts/build_docker.sh
View file @
85e4441c
...
...
@@ -10,6 +10,8 @@ docker buildx build \
--platform
=
linux/arm64,linux/amd64
\
--build-arg
=
VERSION
\
--build-arg
=
GOFLAGS
\
--cache-from
type
=
local
,src
=
.cache
\
--cache-to
type
=
local
,dest
=
.cache
\
-f
Dockerfile
\
-t
ollama
\
.
scripts/push_docker.sh
View file @
85e4441c
...
...
@@ -10,6 +10,7 @@ docker buildx build \
--platform
=
linux/arm64,linux/amd64
\
--build-arg
=
VERSION
\
--build-arg
=
GOFLAGS
\
--cache-from
type
=
local
,src
=
.cache
\
-f
Dockerfile
\
-t
ollama/ollama
-t
ollama/ollama:
$VERSION
\
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment