Switch to a new Docker image

This commit is contained in:
Tao Su 2026-03-19 09:27:49 +00:00 committed by Tate, Hongliang Tian
parent 43436fc402
commit b103fbb900
22 changed files with 27 additions and 27 deletions

View File

@ -107,7 +107,7 @@ jobs:
max-parallel: 1
timeout-minutes: 60
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
steps:

View File

@ -108,7 +108,7 @@ jobs:
max-parallel: 1
timeout-minutes: 60
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
steps:

View File

@ -20,7 +20,7 @@ jobs:
check_api_docs:
runs-on: ubuntu-latest
timeout-minutes: 15
container: asterinas/asterinas:0.17.1-20260317
container: asterinas/asterinas:0.17.1-20260319
steps:
- uses: actions/checkout@v4

View File

@ -12,7 +12,7 @@ jobs:
push-cachix:
runs-on: ubuntu-4-cores-150GB-ssd
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: -v /dev:/dev --privileged
timeout-minutes: 60
steps:
@ -93,7 +93,7 @@ jobs:
- name: Build ISO
uses: maus007/docker-run-action-fork@v1
with:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
run: |
export ASTER_BUILD_TIMESTAMP=`date '+%a %b %e %H:%M:%S %Z %Y'`

View File

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

View File

@ -16,7 +16,7 @@ jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 10
container: asterinas/asterinas:0.17.1-20260317
container: asterinas/asterinas:0.17.1-20260319
steps:
- uses: actions/checkout@v4

View File

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

View File

@ -17,7 +17,7 @@ jobs:
push-pkgs:
runs-on: ubuntu-4-cores-150GB-ssd
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: -v /dev:/dev --privileged
timeout-minutes: 60
steps:

View File

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

View File

@ -19,7 +19,7 @@ jobs:
iso-test:
runs-on: ubuntu-4-cores-150GB-ssd
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: -v /dev:/dev --privileged
timeout-minutes: 60
steps:

View File

@ -11,7 +11,7 @@ jobs:
basic-test:
runs-on: ubuntu-latest
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
strategy:
matrix:

View File

@ -26,7 +26,7 @@ jobs:
full-nixos-test:
runs-on: ubuntu-4-cores-150GB-ssd
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: -v /dev:/dev --privileged
strategy:

View File

@ -36,7 +36,7 @@ jobs:
timeout-minutes: 30
uses: maus007/docker-run-action-fork@v1
with:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --privileged -v /dev:/dev -v ${{ github.workspace }}:/root/asterinas
run: |
make nixos NIXOS_TEST_SUITE=hello NIXOS_DISK_SIZE_IN_MB=6144

View File

@ -11,7 +11,7 @@ jobs:
basic-test:
runs-on: ubuntu-latest
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
volumes:
# Map the following directories on the host into the container so that
@ -38,7 +38,7 @@ jobs:
integration-test:
runs-on: ubuntu-latest
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
volumes:
# Map the following directories on the host into the container so that

View File

@ -11,7 +11,7 @@ jobs:
basic-test:
runs-on: ubuntu-latest
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
volumes:
# Map the following directories on the host into the container so that
@ -38,7 +38,7 @@ jobs:
integration-test:
runs-on: ubuntu-latest
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
volumes:
# Map the following directories on the host into the container so that
@ -132,7 +132,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image: ['asterinas/asterinas:0.17.1-20260317', 'asterinas/osdk:0.17.1-20260317']
image: ['asterinas/asterinas:0.17.1-20260319', 'asterinas/osdk:0.17.1-20260319']
fail-fast: false
container:
image: ${{ matrix.image }}

View File

@ -10,7 +10,7 @@ jobs:
integration-test:
runs-on: self-hosted
container:
image: asterinas/asterinas:0.17.1-20260317
image: asterinas/asterinas:0.17.1-20260319
options: --device=/dev/kvm --privileged
strategy:
matrix:
@ -59,7 +59,7 @@ jobs:
runs-on: self-hosted
strategy:
matrix:
image: ['asterinas/asterinas:0.17.1-20260317', 'asterinas/osdk:0.17.1-20260317']
image: ['asterinas/asterinas:0.17.1-20260319', 'asterinas/osdk:0.17.1-20260319']
fail-fast: false
container:
image: ${{ matrix.image }}

View File

@ -19,7 +19,7 @@ jobs:
validate_scmls:
runs-on: ubuntu-latest
timeout-minutes: 10
container: asterinas/asterinas:0.17.1-20260317
container: asterinas/asterinas:0.17.1-20260319
steps:
- uses: actions/checkout@v4
- name: Validate SCML files with sctrace

View File

@ -24,7 +24,7 @@ All development is done inside the project Docker container:
```bash
docker run -it --privileged --network=host --device=/dev/kvm -v /dev:/dev \
-v $(pwd)/asterinas:/root/asterinas \
asterinas/asterinas:0.17.1-20260317
asterinas/asterinas:0.17.1-20260319
```
Key Makefile targets:

View File

@ -150,7 +150,7 @@ Follow the steps below to get Asterinas up and running.
2. Run a Docker container as the development environment:
```bash
docker run -it --privileged --network=host -v /dev:/dev -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.1-20260317
docker run -it --privileged --network=host -v /dev:/dev -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.1-20260319
```
3. Inside the container,

View File

@ -78,7 +78,7 @@ since `distro/README.md` references them -->
--network=host \
-v /dev:/dev \
-v $(pwd)/asterinas:/root/asterinas \
asterinas/asterinas:0.17.1-20260317
asterinas/asterinas:0.17.1-20260319
```
3. Inside the container, go to the project folder to build and run Asterinas.

View File

@ -66,7 +66,7 @@ The following result is an example:
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.17.1-20260317
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.17.1-20260319
```
3. Inside the container,

View File

@ -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.17.1-20260317
docker run -it --privileged --network=host --device=/dev/kvm asterinas/osdk:0.17.1-20260319
```
## Edit `OSDK.toml` for Intel TDX support