This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ARG VERSION=latest | |
| FROM docker.io/katta/openwrt-rootfs:$VERSION | |
| RUN mkdir -p /var/lock \ | |
| && mkdir -p /var/run \ | |
| && opkg update \ | |
| && opkg install \ | |
| luci \ | |
| luci-ssl \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -xe | |
| # db4 | |
| sudo dnf install -y gcc-c++ autoconf make patch | |
| wget https://raw.githubusercontent.com/bitcoin/bitcoin/master/contrib/install_db4.sh | |
| sudo mkdir -p /usr/src/db4 | |
| sudo chown $(whoami) /usr/src/db4 | |
| bash install_db4.sh /usr/src/db4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone https://github.com/timdettmers/bitsandbytes.git | |
| cd bitsandbytes | |
| export LD_LIBRARY_PATH=/opt/cuda/lib/ | |
| CUDA_VERSION=122 make cuda12x CUDA_HOME=/opt/cuda/ | |
| pip install . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/.*data\.status.*{/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script | |
| apt --reinstall install proxmox-widget-toolkit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Fix: DKMS fails to compile nvidia-current/550.163.01 module for kernel 6.17.2-1-pve | |
| # Cause: NVIDIA 550 drivers from Debian repos are incompatible with Proxmox kernel > 6.14 | |
| # Solution: Pin kernel to 6.14 and exclude newer kernels from DKMS builds | |
| # Credit: Andrea Cattaneo | |
| # Pin Proxmox kernel to 6.14 | |
| proxmox-boot-tool kernel pin 6.14.11-4-pve |
OlderNewer