Switch to a new Docker image
This commit is contained in:
parent
8bc0013801
commit
07ae3a55fc
|
@ -107,7 +107,7 @@ jobs:
|
|||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250822
|
||||
image: asterinas/asterinas:0.16.0-20250910
|
||||
options: --device=/dev/kvm --privileged
|
||||
|
||||
steps:
|
||||
|
|
|
@ -108,7 +108,7 @@ jobs:
|
|||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250822
|
||||
image: asterinas/asterinas:0.16.0-20250910
|
||||
options: --device=/dev/kvm --privileged
|
||||
|
||||
steps:
|
||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
check_api_docs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.16.0-20250822
|
||||
container: asterinas/asterinas:0.16.0-20250910
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container: asterinas/asterinas:0.16.0-20250822
|
||||
container: asterinas/asterinas:0.16.0-20250910
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
container: asterinas/asterinas:0.16.0-20250822
|
||||
container: asterinas/asterinas:0.16.0-20250910
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
run: |
|
||||
docker run \
|
||||
--privileged --network=host --device=/dev/kvm \
|
||||
-v ./:/root/asterinas asterinas/asterinas:0.16.0-20250822 \
|
||||
-v ./:/root/asterinas asterinas/asterinas:0.16.0-20250910 \
|
||||
make run AUTO_TEST=vsock ENABLE_KVM=0 SCHEME=microvm RELEASE_MODE=1 &
|
||||
- name: Run Vsock Client on Host
|
||||
id: host_vsock_client
|
||||
|
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250822
|
||||
image: asterinas/asterinas:0.16.0-20250910
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250822
|
||||
image: asterinas/asterinas:0.16.0-20250910
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
basic-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250822
|
||||
image: asterinas/asterinas:0.16.0-20250910
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -28,7 +28,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250822
|
||||
image: asterinas/asterinas:0.16.0-20250910
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -111,7 +111,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
image: ['asterinas/asterinas:0.16.0-20250822', 'asterinas/osdk:0.16.0-20250822']
|
||||
image: ['asterinas/asterinas:0.16.0-20250910', 'asterinas/osdk:0.16.0-20250910']
|
||||
fail-fast: false
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250822
|
||||
image: asterinas/asterinas:0.16.0-20250910
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
strategy:
|
||||
matrix:
|
||||
image: ['asterinas/asterinas:0.16.0-20250822', 'asterinas/osdk:0.16.0-20250822']
|
||||
image: ['asterinas/asterinas:0.16.0-20250910', 'asterinas/osdk:0.16.0-20250910']
|
||||
fail-fast: false
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
|
|
@ -60,7 +60,7 @@ git clone https://github.com/asterinas/asterinas
|
|||
2. Run a Docker container as the development environment.
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250822
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250910
|
||||
```
|
||||
|
||||
3. Inside the container, go to the project folder to build and run Asterinas.
|
||||
|
|
|
@ -51,7 +51,7 @@ git clone https://github.com/asterinas/asterinas
|
|||
2. 运行一个作为开发环境的Docker容器。
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250822
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250910
|
||||
```
|
||||
|
||||
3. 在容器内,进入项目文件夹构建并运行星绽。
|
||||
|
|
|
@ -47,7 +47,7 @@ git clone https://github.com/asterinas/asterinas
|
|||
2. 開発環境としてDockerコンテナを実行します。
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250822
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250910
|
||||
```
|
||||
|
||||
3. コンテナ内でプロジェクトフォルダに移動し、Asterinasをビルドして実行します。
|
||||
|
|
|
@ -48,7 +48,7 @@ docker run -it --privileged \
|
|||
--network=host \
|
||||
--device=/dev/kvm \
|
||||
-v $(pwd)/asterinas:/root/asterinas \
|
||||
asterinas/asterinas:0.16.0-20250822
|
||||
asterinas/asterinas:0.16.0-20250910
|
||||
```
|
||||
|
||||
3. Inside the container, go to the project folder to build and run Asterinas.
|
||||
|
|
|
@ -66,7 +66,7 @@ git clone https://github.com/asterinas/asterinas
|
|||
2. Run a Docker container as the development environment.
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250822
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250910
|
||||
```
|
||||
|
||||
3. Inside the container,
|
||||
|
|
|
@ -32,7 +32,7 @@ Therefore, it is recommended to use a Docker image to deploy the environment.
|
|||
Run a TDX Docker container:
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm asterinas/osdk:0.16.0-20250822
|
||||
docker run -it --privileged --network=host --device=/dev/kvm asterinas/osdk:0.16.0-20250910
|
||||
```
|
||||
|
||||
## Edit `OSDK.toml` for Intel TDX support
|
||||
|
|
Loading…
Reference in New Issue