Skip to content

Commit

Permalink
Add in 'docker buildx use default' to try use local image rather than…
Browse files Browse the repository at this point in the history
… from registry
  • Loading branch information
pflooky committed Jun 6, 2024
1 parent 476ad7d commit 62da28f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ cd ..

echo "Building and pushing dse-server docker image..."
cd build/server/$version
docker buildx use default
docker buildx build \
--platform "$platforms" \
--build-arg "VERSION=$version" \
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Please review the included LICENSE file for more information.
#

FROM registry-1.docker.io/library/dse-base as dse-server-base
FROM dse-base as dse-server-base

ENV DSE_HOME /opt/dse
ENV DSE_AGENT_HOME /opt/agent
Expand Down

0 comments on commit 62da28f

Please sign in to comment.