Skip to content

Commit

Permalink
No move nvidia opt dir
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Oct 8, 2023
1 parent 947151e commit 0d1c9ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
build-args: |
IMAGE_BASE=ubuntu:${{ env.UBUNTU_VERSION }}
XPU_TARGET=CPU
MAMBA_DEFAULT_ENV=system
push: true
# Avoids unknown/unknown architecture and extra metadata
provenance: false
Expand Down Expand Up @@ -132,7 +131,6 @@ jobs:
XPU_TARGET=NVIDIA_GPU
CUDA_VERSION=${{ matrix.cuda }}
CUDA_LEVEL=${{ matrix.level }}
MAMBA_DEFAULT_ENV=system
push: true
provenance: false
tags: ${{ env.TAGS }}
Expand All @@ -143,8 +141,8 @@ jobs:
fail-fast: false
matrix:
rocm:
- 5.4.2
- 5.6
- "5.4.2"
- "5.6"
level:
- "core"
- "runtime"
Expand Down Expand Up @@ -196,7 +194,6 @@ jobs:
XPU_TARGET=AMD_GPU
ROCM_VERSION=${{ matrix.rocm }}
ROCM_LEVEL=${{ matrix.level }}
MAMBA_DEFAULT_ENV=system
push: true
provenance: false
tags: ${{ env.TAGS }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ You can use the included `cloudflared` service to make secure connections withou
| `WEB_USER` | Username for web services (default `user`) |
| `WEB_PASSWORD` | Password for web services (default `password`) |
| `WORKSPACE` | A volume path. Defaults to `/workspace/` |
| `WORKSPACE_SYNC` | Move mamba environments and services to workspace if mounted (default `true`) |

Environment variables can be specified by using any of the standard methods (`docker-compose.yaml`, `docker run -e...`). Additionally, environment variables can also be passed as parameters of `init.sh`.

Expand Down
2 changes: 1 addition & 1 deletion build/COPY_ROOT/opt/ai-dock/bin/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function init_move_mamba_envs() {
init_move_apps() {
for item in /opt/*; do
dir="$(basename $item)"
if [[ ! -d $item || $dir = "ai-dock" || $dir = "caddy" || $dir = "micromamba" ]]; then
if [[ ! -d $item || $dir = "ai-dock" || $dir = "caddy" || $dir = "micromamba" || $dir = "nvidia" ]]; then
continue
fi

Expand Down

0 comments on commit 0d1c9ec

Please sign in to comment.