Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 997 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 997 Bytes

fcrepo4 Docker Builds

What

Tools and scripts for building Docker images for all releases of Fedora version 4 and up.

Why

Testing, simple deployment

How

Prerequisites

  • Docker
  • jq
  • Some basic understanding of Docker helps

Build a version

bin/build VERSION

Example:

bin/build 5.1.0 # Produces an image tagged ghcr.io/samvera/fcrepo4:5.1.0

If you'd like to use something other than the default target repository (ghcr.io/samvera/fcrepo4), set the DOCKER_REPO variable:

DOCKER_REPO=foo/bar bin/build 5.1.0 # Produces an image tagged foo/bar:5.1.0

Build all versions

To create an image for every fcrepo4 release, run

bin/build-all

The build-all script respects the DOCKER_REPO variable the same way build does.