mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 18:44:06 +00:00
Build contributed recipes on aarch64 (#1974)
* Build contributed recipes on aarch64 * Add --pull to contributed recipes * Exclude recipe not working on aarch64
This commit is contained in:
5
.github/workflows/contributed-recipes.yml
vendored
5
.github/workflows/contributed-recipes.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
run: docs/using/recipe_code/generate_matrix.py >> $GITHUB_OUTPUT
|
run: docs/using/recipe_code/generate_matrix.py >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
test-recipes:
|
test-recipes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.runsOn }}
|
||||||
needs: generate-matrix
|
needs: generate-matrix
|
||||||
if: github.repository == 'jupyter/docker-stacks'
|
if: github.repository == 'jupyter/docker-stacks'
|
||||||
|
|
||||||
@@ -42,7 +42,8 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build recipe 🛠
|
- name: Build recipe 🛠
|
||||||
run: docker build --rm --force-rm --tag my-custom-image -f ./${{ matrix.dockerfile }} ./
|
# We're pulling here to avoid accidentally using image which migt be present on aarch64 self-hosted runner
|
||||||
|
run: docker build --pull --rm --force-rm --tag my-custom-image -f ./${{ matrix.dockerfile }} ./
|
||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
# Full logs for CI build
|
# Full logs for CI build
|
||||||
|
@@ -10,7 +10,11 @@ THIS_DIR = Path(__file__).parent.resolve()
|
|||||||
|
|
||||||
def generate_matrix() -> dict[str, Any]:
|
def generate_matrix() -> dict[str, Any]:
|
||||||
dockerfiles = sorted(file.name for file in THIS_DIR.glob("*.dockerfile"))
|
dockerfiles = sorted(file.name for file in THIS_DIR.glob("*.dockerfile"))
|
||||||
return {"dockerfile": dockerfiles}
|
return {
|
||||||
|
"dockerfile": dockerfiles,
|
||||||
|
"runsOn": ["ubuntu-latest", "ARM64"],
|
||||||
|
"exclude": [{"dockerfile": "oracledb.dockerfile", "runsOn": "ARM64"}],
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
@@ -502,6 +502,10 @@ Pre-built images are hosted in the [realiserad/jupyter-docker-mssql](https://git
|
|||||||
|
|
||||||
## Add Oracle SQL Instant client, SQL\*Plus and other tools (Version 21.x)
|
## Add Oracle SQL Instant client, SQL\*Plus and other tools (Version 21.x)
|
||||||
|
|
||||||
|
```{note}
|
||||||
|
This recipe only works for x86_64 architecture.
|
||||||
|
```
|
||||||
|
|
||||||
The following recipe demonstrates how to add functionality to connect to a Oracle Database using [Oracle Instant Client](https://www.oracle.com/database/technologies/instant-client.html)
|
The following recipe demonstrates how to add functionality to connect to a Oracle Database using [Oracle Instant Client](https://www.oracle.com/database/technologies/instant-client.html)
|
||||||
in your notebook.
|
in your notebook.
|
||||||
This recipe installs version `21.11.0.0.0`.
|
This recipe installs version `21.11.0.0.0`.
|
||||||
|
Reference in New Issue
Block a user