Sign inSign up

stargate01/portus

By stargate01

Updated over 4 years ago

Fork of opensuse/portus with some pull requests from github.com/StarGate01/Portus

Image
1

10K+

stargate01/portus repository overview

Portus-Docker

A lightweight Docker image containing an installation of Portus by SUSE, based on Alpine Linux.

This image builds itself directly from the official sources.

Motivation

SUSE does provide Dockerfiles for Portus, however those are either for development only, not compiled from the current source code in the repository, but rather from the precompiled packages from the OpenSUSE packet sources.

This image is based on Alpine Linux. It also precompiles all assets and builds a production version of the software. It was primarily written to run forks of the official code, or just to really control what code goes into your image.

Compilation

Build using Docker: docker build -t stargate01/portus:latest .

Optional build arguments (--build-arg):

  • VERSION_STRING: The displayed version string. (Default: v2.5)
  • REPO_TAG: The Tag or branch of the repository to be built. (Default: master)
  • REPO_URL: The repository URL, if you would like to build a fork. (Default: https://github.com/StarGate01/Portus.git )

Local Testing

A basic Docker Compose configuration is provided. Check the domain names in config/*.env and docker-compose.yml (Default: registry.home and portus.home)

Generate a certificate for token auth: cd config && ./gen-certs.sh

Start a stack containing Portus, the background worker for Portus, a Docker registry and a MariaDB database: docker compose build && docker-compose up

Tag summary

Content type

Image

Digest

Size

236.1 MB

Last updated

over 4 years ago

docker pull stargate01/portus