taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit a1a7d24b53a763612714612ead98724b1e406cdd
parent 84dc4bc2fe5587fbbadb44690f4ab5b7bb8706ca
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Thu, 29 Dec 2016 19:22:44 +0100

ENTRYPOINT

Diffstat:
Mdocker/debug/client/Dockerfile | 6+++---
Adocker/debug/client/dbstart.sh | 4++++
2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/docker/debug/client/Dockerfile b/docker/debug/client/Dockerfile @@ -2,6 +2,6 @@ FROM debian:unstable RUN apt-get update && apt-get install -qqy postgresql -# Needs the container running (not done by 'docker-compose run'). -RUN su -c "createuser --host=dbcontainer root" postgres \ - && su -c "createdb --host=dbcontainer talertest" postgres +COPY ./dbstart.sh / + +ENTRYPOINT ["./dbstart.sh"] diff --git a/docker/debug/client/dbstart.sh b/docker/debug/client/dbstart.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +su -c "createuser --host=dbcontainer root" postgres +su -c "createdb --host=dbcontainer talertest" postgres