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
cdf65e79
Commit
cdf65e79
authored
Mar 09, 2024
by
Jeffrey Morgan
Browse files
only copy deps for `amd64` in `build_linux.sh`
parent
82ca694d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
scripts/build_linux.sh
scripts/build_linux.sh
+5
-1
No files found.
scripts/build_linux.sh
View file @
cdf65e79
...
...
@@ -22,6 +22,10 @@ for TARGETARCH in ${BUILD_ARCH}; do
.
docker create
--platform
linux/
$TARGETARCH
--name
builder-
$TARGETARCH
builder:
$TARGETARCH
docker
cp
builder-
$TARGETARCH
:/go/src/github.com/jmorganca/ollama/ollama ./dist/ollama-linux-
$TARGETARCH
docker
cp
builder-
$TARGETARCH
:/go/src/github.com/jmorganca/ollama/dist/deps/ ./dist/
if
[
"
$TARGETARCH
"
=
"amd64"
]
;
then
docker
cp
builder-
$TARGETARCH
:/go/src/github.com/jmorganca/ollama/dist/deps/ ./dist/
fi
docker
rm
builder-
$TARGETARCH
done
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