Update docker version ref to 0.14.1-20250326

This commit is contained in:
jiangjianfeng
2025-03-26 09:52:51 +00:00
committed by Tate, Hongliang Tian
parent 7d3b49c4d6
commit 2a7cdb0802
11 changed files with 27 additions and 27 deletions

View File

@ -107,7 +107,7 @@ jobs:
max-parallel: 1 max-parallel: 1
timeout-minutes: 60 timeout-minutes: 60
container: container:
image: asterinas/asterinas:0.14.1-20250322 image: asterinas/asterinas:0.14.1-20250326
options: --device=/dev/kvm --privileged options: --device=/dev/kvm --privileged
env: env:
# Need to set up proxy since the self-hosted CI server is located in China, # Need to set up proxy since the self-hosted CI server is located in China,

View File

@ -17,7 +17,7 @@ jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10
container: asterinas/asterinas:0.14.1-20250322 container: asterinas/asterinas:0.14.1-20250326
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -17,7 +17,7 @@ jobs:
build_and_deploy: build_and_deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
container: asterinas/asterinas:0.14.1-20250322 container: asterinas/asterinas:0.14.1-20250326
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

View File

@ -14,9 +14,9 @@ jobs:
if: github.event_name == 'push' || github.event_name == 'pull_request' if: github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
container: asterinas/asterinas:0.14.1-20250322 container: asterinas/asterinas:0.14.1-20250326
steps: steps:
- run: echo "Running in asterinas/asterinas:0.14.1-20250322" - run: echo "Running in asterinas/asterinas:0.14.1-20250326"
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -28,9 +28,9 @@ jobs:
if: github.event_name == 'push' || github.event_name == 'pull_request' if: github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
container: asterinas/asterinas:0.14.1-20250322 container: asterinas/asterinas:0.14.1-20250326
steps: steps:
- run: echo "Running in asterinas/asterinas:0.14.1-20250322" - run: echo "Running in asterinas/asterinas:0.14.1-20250326"
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -45,10 +45,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
container: container:
image: asterinas/asterinas:0.14.1-20250322 image: asterinas/asterinas:0.14.1-20250326
options: --device=/dev/kvm --privileged options: --device=/dev/kvm --privileged
steps: steps:
- run: echo "Running in asterinas/asterinas:0.14.1-20250322" - run: echo "Running in asterinas/asterinas:0.14.1-20250326"
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
container: container:
image: asterinas/asterinas:0.14.1-20250322 image: asterinas/asterinas:0.14.1-20250326
options: --device=/dev/kvm --privileged options: --device=/dev/kvm --privileged
strategy: strategy:
matrix: matrix:
@ -85,7 +85,7 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- run: echo "Running in asterinas/asterinas:0.14.1-20250322" - run: echo "Running in asterinas/asterinas:0.14.1-20250326"
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -142,7 +142,7 @@ jobs:
runs-on: self-hosted runs-on: self-hosted
timeout-minutes: 30 timeout-minutes: 30
container: container:
image: asterinas/asterinas:0.14.1-20250322-tdx image: asterinas/asterinas:0.14.1-20250326-tdx
options: --device=/dev/kvm --privileged options: --device=/dev/kvm --privileged
env: env:
# Need to set up proxy since the self-hosted CI server is located in China, # Need to set up proxy since the self-hosted CI server is located in China,
@ -150,7 +150,7 @@ jobs:
RUSTUP_DIST_SERVER: https://mirrors.ustc.edu.cn/rust-static RUSTUP_DIST_SERVER: https://mirrors.ustc.edu.cn/rust-static
RUSTUP_UPDATE_ROOT: https://mirrors.ustc.edu.cn/rust-static/rustup RUSTUP_UPDATE_ROOT: https://mirrors.ustc.edu.cn/rust-static/rustup
steps: steps:
- run: echo "Running in asterinas/asterinas:0.14.1-20250322-tdx" - run: echo "Running in asterinas/asterinas:0.14.1-20250326-tdx"
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up the environment - name: Set up the environment
run: | run: |

View File

@ -23,7 +23,7 @@ jobs:
run: | run: |
docker run \ docker run \
--privileged --network=host --device=/dev/kvm \ --privileged --network=host --device=/dev/kvm \
-v ./:/root/asterinas asterinas/asterinas:0.14.1-20250322 \ -v ./:/root/asterinas asterinas/asterinas:0.14.1-20250326 \
make run AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 & make run AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 &
- name: Run Vsock Client on Host - name: Run Vsock Client on Host
id: host_vsock_client id: host_vsock_client

View File

@ -21,9 +21,9 @@ jobs:
timeout-minutes: 30 timeout-minutes: 30
strategy: strategy:
matrix: matrix:
# asterinas/asterinas:0.14.1-20250322 container is the developing container of asterinas, # asterinas/asterinas:0.14.1-20250326 container is the developing container of asterinas,
# asterinas/osdk:0.14.1-20250322 container is built with the intructions from Asterinas Book # asterinas/osdk:0.14.1-20250326 container is built with the intructions from Asterinas Book
container: ['asterinas/asterinas:0.14.1-20250322', 'asterinas/osdk:0.14.1-20250322'] container: ['asterinas/asterinas:0.14.1-20250326', 'asterinas/osdk:0.14.1-20250326']
fail-fast: false fail-fast: false
container: ${{ matrix.container }} container: ${{ matrix.container }}
steps: steps:
@ -33,7 +33,7 @@ jobs:
- name: Lint - name: Lint
id: lint id: lint
if: matrix.container == 'asterinas/asterinas:0.14.1-20250322' if: matrix.container == 'asterinas/asterinas:0.14.1-20250326'
run: make check_osdk run: make check_osdk
# Github's actions/checkout@v4 will result in a new user (not root) # Github's actions/checkout@v4 will result in a new user (not root)
@ -54,9 +54,9 @@ jobs:
RUSTUP_UPDATE_ROOT: https://mirrors.ustc.edu.cn/rust-static/rustup RUSTUP_UPDATE_ROOT: https://mirrors.ustc.edu.cn/rust-static/rustup
strategy: strategy:
matrix: matrix:
# asterinas/asterinas:0.14.1-20250322-tdx container is the developing container of asterinas, # asterinas/asterinas:0.14.1-20250326-tdx container is the developing container of asterinas,
# asterinas/osdk:0.14.1-20250322-tdx container is built with the intructions from Asterinas Book # asterinas/osdk:0.14.1-20250326-tdx container is built with the intructions from Asterinas Book
container: ['asterinas/asterinas:0.14.1-20250322-tdx', 'asterinas/osdk:0.14.1-20250322-tdx'] container: ['asterinas/asterinas:0.14.1-20250326-tdx', 'asterinas/osdk:0.14.1-20250326-tdx']
fail-fast: false fail-fast: false
container: container:
image: ${{ matrix.container }} image: ${{ matrix.container }}
@ -66,7 +66,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Lint - name: Lint
id: lint id: lint
if: matrix.container == 'asterinas/asterinas:0.14.1-20250322-tdx' if: matrix.container == 'asterinas/asterinas:0.14.1-20250326-tdx'
run: make check_osdk run: make check_osdk
# Github's actions/checkout@v4 will result in a new user (not root) # Github's actions/checkout@v4 will result in a new user (not root)
# and thus not using the Rust environment we set up in the container. # and thus not using the Rust environment we set up in the container.

View File

@ -54,7 +54,7 @@ git clone https://github.com/asterinas/asterinas
2. Run a Docker container as the development environment. 2. Run a Docker container as the development environment.
```bash ```bash
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322 docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326
``` ```
3. Inside the container, go to the project folder to build and run Asterinas. 3. Inside the container, go to the project folder to build and run Asterinas.

View File

@ -49,7 +49,7 @@ git clone https://github.com/asterinas/asterinas
2. 运行一个作为开发环境的Docker容器。 2. 运行一个作为开发环境的Docker容器。
```bash ```bash
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322 docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326
``` ```
3. 在容器内,进入项目文件夹构建并运行星绽。 3. 在容器内,进入项目文件夹构建并运行星绽。

View File

@ -45,7 +45,7 @@ git clone https://github.com/asterinas/asterinas
2. 開発環境としてDockerコンテナを実行します。 2. 開発環境としてDockerコンテナを実行します。
```bash ```bash
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322 docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326
``` ```
3. コンテナ内でプロジェクトフォルダに移動し、Asterinasをビルドして実行します。 3. コンテナ内でプロジェクトフォルダに移動し、Asterinasをビルドして実行します。

View File

@ -48,7 +48,7 @@ docker run -it --privileged \
--network=host \ --network=host \
--device=/dev/kvm \ --device=/dev/kvm \
-v $(pwd)/asterinas:/root/asterinas \ -v $(pwd)/asterinas:/root/asterinas \
asterinas/asterinas:0.14.1-20250322 asterinas/asterinas:0.14.1-20250326
``` ```
3. Inside the container, go to the project folder to build and run Asterinas. 3. Inside the container, go to the project folder to build and run Asterinas.

View File

@ -66,7 +66,7 @@ git clone https://github.com/asterinas/asterinas
2. Run a Docker container as the development environment. 2. Run a Docker container as the development environment.
```bash ```bash
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250322-tdx docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.14.1-20250326-tdx
``` ```
3. Inside the container, 3. Inside the container,