Files
palladiumcore/docker-build/README.md

94 lines
2.4 KiB
Markdown
Raw Normal View History

# Docker Build System for Palladium Core
## System Requirements
- **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
## Linux x86_64
Creates native Linux 64-bit binaries using a Docker container based on Ubuntu 20.04.
### Commands
```bash
cd docker-build # Navigate to the docker-build directory
./build-linux-x86_64.sh # Run the build script
```
### Output
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
## Linux aarch64 (ARM64)
Creates ARM64 binaries for devices like Raspberry Pi 4+ through cross-compilation.
### Commands
```bash
cd docker-build # Navigate to the docker-build directory
./build-linux-aarch64.sh # Run the cross-compilation build script
```
### Output
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
## Linux ARMv7l (ARM 32-bit)
Creates ARM 32-bit binaries for older devices like Raspberry Pi 2/3 and Pi Zero.
### Commands
```bash
cd docker-build # Navigate to the docker-build directory
./build-linux-armv7l.sh # Run the ARMv7l cross-compilation build script
```
### Output
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
## Windows x86_64
Creates Windows executables through cross-compilation with MinGW-w64.
### Commands
```bash
cd docker-build # Navigate to the docker-build directory
./build-windows.sh # Run the Windows cross-compilation build script
```
### Output
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
### Troubleshooting
```bash
2025-11-17 18:12:37 +01:00
cd docker-build chmod +x *.sh
```