Skip to content

Commit

Permalink
Update build targets
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Feb 8, 2024
1 parent ca9aec9 commit 88af037
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 34 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ jobs:
fail-fast: false
matrix:
cuda:
- 11.7.1
- 11.8.0
- 12.1.0
- 12.2.0
Expand All @@ -79,17 +78,6 @@ jobs:
- "base"
- "runtime"
- "devel"
- "cudnn8-runtime"
- "cudnn8-devel"
exclude:
- cuda: 12.2.0
level: "cudnn8-runtime" # Not available
- cuda: 12.2.0
level: "cudnn8-devel" # Not available
- cuda: 12.3.1
level: "cudnn8-runtime" # Not available
- cuda: 12.3.1
level: "cudnn8-devel" # Not available
steps:
-
name: Free Space
Expand Down Expand Up @@ -148,6 +136,8 @@ jobs:
rocm:
- "5.4.2"
- "5.6"
- "5.7"
- "6.0.2"
level:
- "core"
- "runtime"
Expand Down
12 changes: 2 additions & 10 deletions build/COPY_ROOT/opt/ai-dock/bin/build/layer0/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,5 @@
apt-get clean -y
micromamba clean -ay

# Remove build scripts
scripts_dir="/opt/ai-dock/bin/build/"

# Remove this layer's scripts
rm -rf ${scripts_dir}layer0

# Remove parent directory if this is the last build layer
if [[ $(ls -l ${scripts_dir} | grep -c ^d) -eq 0 ]]; then
rm -rf ${scripts_dir}
fi
rm /etc/ld.so.cache
ldconfig
7 changes: 0 additions & 7 deletions build/COPY_ROOT/opt/ai-dock/bin/build/layer0/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@ $APT_INSTALL \
python-multipart \
websockets

# Get caddy server
#mkdir -p /opt/caddy/bin
#wget -c -O caddy.tar.gz https://github.com/caddyserver/caddy/releases/download/v2.7.5/caddy_2.7.5_linux_amd64.tar.gz
#tar -xf caddy.tar.gz -C /opt/caddy
#rm caddy.tar.gz
#mv /opt/caddy/caddy /opt/caddy/bin

# Get Cloudflare daemon
wget -c -O cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
dpkg -i cloudflared.deb
Expand Down
6 changes: 1 addition & 5 deletions config/provisioning/default.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/bin/bash

# This file will be sourced in init.sh
# This file will be executed by init.sh
# You can edit below here and make it do something useful

printf "Hello world!\n"
echo "id $(id)"
whoami
env
sleep 2

0 comments on commit 88af037

Please sign in to comment.