2025-10-28 10:53:53 +01:00
|
|
|
# Docker Build System for Palladium Core
|
|
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
## System Requirements
|
2025-10-28 10:53:53 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
- **Host System**: Ubuntu 20.04+ on x86_64 architecture
|
|
|
|
|
- **Docker**: Installed and running ([installation guide](https://docs.docker.com/get-docker/))
|
|
|
|
|
- **Disk Space**: At least 15 GB free
|
2025-10-29 12:04:27 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
## Linux x86_64
|
2025-10-29 12:04:27 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Creates native Linux 64-bit binaries using a Docker container based on Ubuntu 20.04.
|
2025-11-01 15:05:29 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Commands
|
2025-10-28 10:53:53 +01:00
|
|
|
|
|
|
|
|
```bash
|
2025-11-01 19:12:03 +01:00
|
|
|
cd docker-build # Navigate to the docker-build directory
|
|
|
|
|
./build-linux-x86_64.sh # Run the build script
|
2025-10-28 10:53:53 +01:00
|
|
|
```
|
|
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Output
|
2025-10-29 12:04:27 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Binaries will be available in `../build/linux-x86_64/`:
|
|
|
|
|
- `palladiumd` - Main daemon
|
|
|
|
|
- `palladium-cli` - Command-line client
|
|
|
|
|
- `palladium-tx` - Transaction utility
|
|
|
|
|
- `palladium-wallet` - Wallet utility
|
|
|
|
|
- `palladium-qt` - GUI application
|
2025-10-29 12:04:27 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
## Linux aarch64 (ARM64)
|
2025-10-28 10:53:53 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Creates ARM64 binaries for devices like Raspberry Pi 4+ through cross-compilation.
|
2025-10-28 10:53:53 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Commands
|
2025-10-28 10:53:53 +01:00
|
|
|
|
|
|
|
|
```bash
|
2025-11-01 19:12:03 +01:00
|
|
|
cd docker-build # Navigate to the docker-build directory
|
|
|
|
|
./build-linux-aarch64.sh # Run the cross-compilation build script
|
2025-10-29 12:04:27 +01:00
|
|
|
```
|
|
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Output
|
2025-10-29 12:04:27 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Binaries will be available in `../build/linux-aarch64/`:
|
|
|
|
|
- `palladiumd` - Main daemon
|
|
|
|
|
- `palladium-cli` - Command-line client
|
|
|
|
|
- `palladium-tx` - Transaction utility
|
|
|
|
|
- `palladium-wallet` - Wallet utility
|
|
|
|
|
- `palladium-qt` - GUI application
|
2025-10-29 14:56:13 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
## Linux ARMv7l (ARM 32-bit)
|
2025-10-29 16:23:21 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Creates ARM 32-bit binaries for older devices like Raspberry Pi 2/3 and Pi Zero.
|
2025-10-29 16:23:21 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Commands
|
2025-10-29 16:23:21 +01:00
|
|
|
|
|
|
|
|
```bash
|
2025-11-01 19:12:03 +01:00
|
|
|
cd docker-build # Navigate to the docker-build directory
|
|
|
|
|
./build-linux-armv7l.sh # Run the ARMv7l cross-compilation build script
|
2025-10-29 16:23:21 +01:00
|
|
|
```
|
|
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Output
|
2025-10-29 16:23:21 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Binaries will be available in `../build/armv7l/`:
|
|
|
|
|
- `palladiumd` - Main daemon
|
|
|
|
|
- `palladium-cli` - Command-line client
|
|
|
|
|
- `palladium-tx` - Transaction utility
|
|
|
|
|
- `palladium-wallet` - Wallet utility
|
|
|
|
|
- `palladium-qt` - GUI application
|
2025-10-29 16:23:21 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
## Windows x86_64
|
2025-10-29 16:23:21 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Creates Windows executables through cross-compilation with MinGW-w64.
|
2025-10-29 16:23:21 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Commands
|
2025-10-29 16:23:21 +01:00
|
|
|
|
|
|
|
|
```bash
|
2025-11-01 19:12:03 +01:00
|
|
|
cd docker-build # Navigate to the docker-build directory
|
|
|
|
|
./build-windows.sh # Run the Windows cross-compilation build script
|
2025-10-29 16:23:21 +01:00
|
|
|
```
|
|
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
### Output
|
2025-10-29 14:56:13 +01:00
|
|
|
|
2025-11-01 19:12:03 +01:00
|
|
|
Executables will be available in `../build/windows/`:
|
|
|
|
|
- `palladiumd.exe` - Main daemon
|
|
|
|
|
- `palladium-cli.exe` - Command-line client
|
|
|
|
|
- `palladium-tx.exe` - Transaction utility
|
|
|
|
|
- `palladium-wallet.exe` - Wallet utility
|
|
|
|
|
- `palladium-qt.exe` - GUI application
|
2025-11-17 18:11:17 +01:00
|
|
|
|
|
|
|
|
### Troubleshooting
|
|
|
|
|
|
|
|
|
|
```bash
|
2025-11-17 18:12:37 +01:00
|
|
|
cd docker-build chmod +x *.sh
|
2025-11-17 18:11:17 +01:00
|
|
|
```
|