Reposilite

applications
Report Issue

Lightweight and easy-to-use repository management software dedicated for Maven based artifacts in the JVM ecosystem.

Contributors:
README

Reposilite

Lightweight and easy-to-use repository management software dedicated for Maven based artifacts in the JVM ecosystem.

Server Ports

One port needs to be allocated to run Reposilite.

Docker Images (5)
Name Image
ghcr.io/pterodactyl/yolks:java_11 ghcr.io/pterodactyl/yolks:java_11
ghcr.io/pterodactyl/yolks:java_16 ghcr.io/pterodactyl/yolks:java_16
ghcr.io/pterodactyl/yolks:java_17 ghcr.io/pterodactyl/yolks:java_17
ghcr.io/pterodactyl/yolks:java_21 ghcr.io/pterodactyl/yolks:java_21
ghcr.io/pterodactyl/yolks:java_8 ghcr.io/pterodactyl/yolks:java_8
Startup Command
java -Xmx{{SERVER_MEMORY}}M -Dreposilite.port={{SERVER_PORT}} -jar reposilite.jar --port {{SERVER_PORT}}
Variables (1)

Reposilite version

The version of Reposilite.

Environment:
REPOSILITE_VERSION
Default:
latest
User Viewable:
User Editable:
Rules:
required|string
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/bin/sh
# Switch to mounted directory
cd /mnt/server
# Find latest Reposilite version, if needed
if [ "$REPOSILITE_VERSION" == "latest" ]; then
    REPOSILITE_VERSION=$(grep -oPm1 "(?<=<latest>)[^<]+" <<< "$(curl -s https://maven.reposilite.com/releases/com/reposilite/reposilite/maven-metadata.xml)")
fi
# Check if -all suffixed jar is available
status_code=$(curl --write-out '%{http_code}' -X HEAD -s -o /dev/null https://maven.reposilite.com/releases/com/reposilite/reposilite/${REPOSILITE_VERSION}/reposilite-${REPOSILITE_VERSION}-all.jar)
# Download new Reposilite
if [ "$status_code" == 200 ]; then
    curl -o reposilite.jar https://maven.reposilite.com/releases/com/reposilite/reposilite/${REPOSILITE_VERSION}/reposilite-${REPOSILITE_VERSION}-all.jar
else
    curl -o reposilite.jar https://maven.reposilite.com/releases/com/reposilite/reposilite/${REPOSILITE_VERSION}/reposilite-${REPOSILITE_VERSION}.jar
fi