diff options
-rw-r--r-- | docker/README | 15 | ||||
-rw-r--r-- | docker/base/Dockerfile | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/docker/README b/docker/README index ab43f7c..69aa574 100644 --- a/docker/README +++ b/docker/README @@ -1,3 +1,18 @@ +=== The Compose way == + +This way of building things is the preferred one: +just running, + +$ docker-compose up + +from <THIS_REPO/docker>, should build all the images. + +Only the base image and the exchange are currently supposed +to be built this way. + +Ideally, a compose recipe for the exchange and one for merchant +backend should be made available. + === How to use these images === From a "docker ready" environment, you need to (1) build the diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile index d3def45..5b0bf82 100644 --- a/docker/base/Dockerfile +++ b/docker/base/Dockerfile @@ -45,11 +45,12 @@ RUN ./bootstrap \ # To run the config generator, need: WORKDIR $HOME/deployment +ENV LD_LIBRARY_PATH "/usr/local/lib" + RUN export TALER_CONFIG_ENV="test" \ && export TALER_CONFIG_CURRENCY="EUR" \ && export LC_ALL="C.UTF-8" \ && export LANG="C.UTF-8" \ - && export LD_LIBRARY_PATH="/usr/local/lib" \ && ./bin/taler-deployment-config-generate \ && su -c "createuser root" postgres \ su -c "createdb talertest" postgres |