ops: Remove amd64 platform limitation
This commit is contained in:
@@ -7,8 +7,7 @@
|
|||||||
},
|
},
|
||||||
"workspaceMount": "",
|
"workspaceMount": "",
|
||||||
"runArgs": [
|
"runArgs": [
|
||||||
"--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z",
|
"--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"
|
||||||
"--platform=linux/amd64"
|
|
||||||
],
|
],
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ jobs:
|
|||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: docker/setup-buildx-action@v2
|
- uses: docker/setup-buildx-action@v2
|
||||||
-
|
-
|
||||||
@@ -43,9 +40,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: docker-build
|
needs: docker-build
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: docker/setup-buildx-action@v2
|
- uses: docker/setup-buildx-action@v2
|
||||||
-
|
-
|
||||||
@@ -65,7 +59,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
--platform linux/amd64 \
|
|
||||||
--workdir /builder/mnt \
|
--workdir /builder/mnt \
|
||||||
-v ${{ github.workspace }}:/builder/mnt \
|
-v ${{ github.workspace }}:/builder/mnt \
|
||||||
cproject-builder:latest \
|
cproject-builder:latest \
|
||||||
@@ -75,7 +68,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
--platform linux/amd64 \
|
|
||||||
--workdir /builder/mnt/tests/unittest \
|
--workdir /builder/mnt/tests/unittest \
|
||||||
-v ${{ github.workspace }}:/builder/mnt \
|
-v ${{ github.workspace }}:/builder/mnt \
|
||||||
cproject-builder:latest \
|
cproject-builder:latest \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ ARG base_tag=bullseye
|
|||||||
ARG base_img=mcr.microsoft.com/vscode/devcontainers/base:dev-${base_tag}
|
ARG base_img=mcr.microsoft.com/vscode/devcontainers/base:dev-${base_tag}
|
||||||
# ARG base_img=debian:${base_tag}
|
# ARG base_img=debian:${base_tag}
|
||||||
|
|
||||||
FROM --platform=linux/amd64 ${base_img} AS builder-install
|
FROM ${base_img} AS builder-install
|
||||||
|
|
||||||
# the following shows how to install the latest version of a package.
|
# the following shows how to install the latest version of a package.
|
||||||
# you can determine the installed version with `apt-cache policy <list of packages>` and fix
|
# you can determine the installed version with `apt-cache policy <list of packages>` and fix
|
||||||
|
|||||||
Reference in New Issue
Block a user