mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-04 22:24:20 +01:00
Merge pull request #8045 from jepio/fix-docker-ownership
local-build: Fix .docker ownership before build-payload
This commit is contained in:
@@ -25,6 +25,8 @@ arch=$(uname -m)
|
||||
[ "$arch" = "x86_64" ] && arch="amd64"
|
||||
IMAGE_TAG="${REGISTRY}:kata-containers-$(git rev-parse HEAD)-${arch}"
|
||||
|
||||
sudo chown -R $USER $HOME/.docker
|
||||
|
||||
echo "Building the image"
|
||||
docker build --tag ${IMAGE_TAG} .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user