Skip to content

Commit

Permalink
chore: update docker image version in script
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsman1996 committed Dec 11, 2024
1 parent 72423f9 commit db504c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_in_docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
docker rm -f dragonos-build || echo "No existed container"
cpu_count=$(cat /proc/cpuinfo |grep "processor"|wc -l)
docker run --rm --privileged=true --cap-add SYS_ADMIN --cap-add MKNOD -v $(pwd):/data -v /dev:/dev -v dragonos-build-cargo:/root/.cargo/registry --name dragonos-build -i dragonos/dragonos-dev:v1.2 bash << EOF
docker run --rm --privileged=true --cap-add SYS_ADMIN --cap-add MKNOD -v $(pwd):/data -v /dev:/dev -v dragonos-build-cargo:/root/.cargo/registry --name dragonos-build -i dragonos/dragonos-dev:v1.8 bash << EOF
source ~/.cargo/env
source ~/.bashrc
cd /data
Expand Down

0 comments on commit db504c4

Please sign in to comment.