Skip to content

Dockerize src-expose volume 1

Warren Gifford requested to merge rb-src-expose-docker into master

Created by: ryan-blunden

A potential customer requested a Dockerized version of src-expose.

The main thing to note about the Dockerfile, is that the container can be used in one of 2 ways:

  1. Using the standard ENTRYPOINT in which it is used in the same was as if it were a local binary
  2. Using the entry.sh script which will pass src-expose a list of directories mounted in the WORKDIR (/app/data).

The use-case for number 2 is for simplicity, where all a consumer has to do is mount a parent folder at /app/data and the entry.sh script will take care of the rest.

I'll have a Kubernetes sample to go along with this shortly that will further illustrate the need for use case 2.

Merge request reports

Loading