Skip to content

minio/pkger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkger

Packaging minio during development (for testing, etc)

  1. First install pkger so it is available in PATH.

  2. Prepare the release directory, dist below:

mkdir -p ./dist/linux-amd64

# REPLACE THE TIMESTAMP AND THE GIT TAG!
VERSION=RELEASE.2025-03-12T00-00-00Z.debug.GIT_TAG

# Move the binary to the dist directory
mv ./minio ./dist/linux-amd64/minio.$VERSION
  1. Ensure minio.service exists:
wget -O minio.service "https://raw.githubusercontent.com/minio/minio-service/refs/heads/master/linux-systemd/minio.service"
  1. Run pkger:
pkger -r $VERSION --appName minio --ignore --releaseDir=dist
  1. ./dist will contain the packaged files (rpm, deb, etc).

Packaging sidekick releases

  1. First install pkger so it is available in PATH.

  2. Prepare the release directory:

mkdir -p ./sidekick-release/linux-amd64
mkdir -p ./sidekick-release/linux-arm64

# REPLACE THE TIMESTAMP!
VERSION=RELEASE.2025-03-12T00-00-00Z

# Move the binaries to the release directory
mv ./sidekick-linux-amd64 ./sidekick-release/linux-amd64/sidekick.$VERSION
mv ./sidekick-linux-arm64 ./sidekick-release/linux-arm64/sidekick.$VERSION
  1. Run pkger:
pkger -r $VERSION --appName sidekick
  1. The output will be:
    • Packages: sidekick-release/linux-{arch}/sidekick-*.rpm, sidekick-*.deb, sidekick-*.apk
    • JSON metadata: sidekick-release/downloads-sidekick.json (contains download URLs and installation instructions)

Notes:

  • Sidekick packages are built for amd64 and arm64 architectures only (no ppc64le)
  • By default, all three package formats (RPM, DEB, APK) are built
  • Use --packager flag to build specific formats: --packager deb,rpm
  • The downloads JSON includes only RPM and DEB installation instructions (APK is built but not documented)

Packaging warp releases

  1. First install pkger so it is available in PATH.

  2. Prepare the release directory:

mkdir -p ./warp-release/linux-amd64
mkdir -p ./warp-release/linux-arm64

# REPLACE THE VERSION! Warp uses semantic versioning (e.g., v0.4.3)
VERSION=v0.4.3

# Move the binaries to the release directory
mv ./warp-linux-amd64 ./warp-release/linux-amd64/warp.$VERSION
mv ./warp-linux-arm64 ./warp-release/linux-arm64/warp.$VERSION
  1. Run pkger:
pkger -r $VERSION --appName warp
  1. The output will be:
    • Packages: warp-release/linux-{arch}/warp-*.rpm, warp-*.deb, warp-*.apk
    • JSON metadata: warp-release/downloads-warp.json (contains download URLs and installation instructions)

Notes:

  • Warp uses semantic versioning with a v prefix (e.g., v0.4.3), not date-based release tags like minio
  • The v prefix is required for input but is stripped in package filenames (e.g., warp-0.4.3-1.x86_64.rpm) following standard RPM/DEB conventions
  • Warp packages are built for amd64 and arm64 architectures only (no ppc64le)
  • The downloads JSON includes cross-platform support: Linux (Binary, RPM, DEB), macOS (Binary for arm64), Windows (Binary)
  • By default, all three package formats (RPM, DEB, APK) are built for Linux
  • Use --packager flag to build specific formats: --packager deb,rpm
  • The downloads JSON includes only RPM and DEB installation instructions (APK is built but not documented)

About

Debian, RPMs and APKs for MinIO

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages