Skip to content
Permalink
3.3.1-20210213
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

COmanage Registry Base Image

Intended to build a COmanage Registry base image using the official PHP with Apache image as the foundation.

By itself the image built from this Dockerfile does not provide any method for authentication and is not suitable for deployment.

The image built from this Dockerfile is used as the base for images that include an authentication mechanism. See other documentation in this repository for examples on how to build images on this one that include authentication methods like Basic Auth, Shibboleth SP, and mod_auth_openidc.

Build Arguments

Building the image requires the following build argument:

--build-arg COMANAGE_REGISTRY_VERSION=<COmanage Registry version number>

Building

docker build \
    --build-arg COMANAGE_REGISTRY_VERSION=<COmanage Registry version number> \
    -t comanage-registry-base:<tag> .

Building Example

export COMANAGE_REGISTRY_VERSION=3.3.1
export COMANAGE_REGISTRY_BASE_IMAGE_VERSION=1
TAG="${COMANAGE_REGISTRY_VERSION}-${COMANAGE_REGISTRY_BASE_IMAGE_VERSION}"
docker build \
  --build-arg COMANAGE_REGISTRY_VERSION=${COMANAGE_REGISTRY_VERSION} \
  -t comanage-registry-base:${TAG} .