[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin-deployment] branch master updated: add docker compose for buil
From: |
gnunet |
Subject: |
[libeufin-deployment] branch master updated: add docker compose for building images |
Date: |
Sat, 30 Jan 2021 15:33:49 +0100 |
This is an automated email from the git hooks/post-receive script.
lukas-grossberger pushed a commit to branch master
in repository libeufin-deployment.
The following commit(s) were added to refs/heads/master by this push:
new c4e3dee add docker compose for building images
c4e3dee is described below
commit c4e3dee8c57dd1ddb87cd4a6ccbd906817820c1e
Author: Lukas Grossberger <code@grossberger.xyz>
AuthorDate: Sat Jan 30 15:33:32 2021 +0100
add docker compose for building images
---
docker/README.md | 9 +--------
docker/cli.Dockerfile | 5 +++++
docker/docker-compose.yml | 20 ++++++++++++++++++++
3 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/docker/README.md b/docker/README.md
index 0067477..de76b23 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -8,15 +8,8 @@ This could become the bassis for an integration test style
`docker-compose` setu
## Build Docker images
-### Base image
```
-docker build -t libeufin:dev -f libeufin.Dockerfile .
-```
-
-### Component images
-```
-docker build -t libeufin-sandbox:dev sandbox.Dockerfile .
-docker build -t libeufin-nexus:dev nexus.Dockerfile .
+docker-compose build
```
## Scenario 1: Sandbox & CLI
diff --git a/docker/cli.Dockerfile b/docker/cli.Dockerfile
new file mode 100644
index 0000000..e48e860
--- /dev/null
+++ b/docker/cli.Dockerfile
@@ -0,0 +1,5 @@
+FROM libeufin:dev
+
+ENV LIBEUFIN_SANDBOX_URL "http://localhost:5000/"
+
+CMD ["libeufin-cli","sandbox","check"]
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
new file mode 100644
index 0000000..1fc5aed
--- /dev/null
+++ b/docker/docker-compose.yml
@@ -0,0 +1,20 @@
+services:
+ libeufin:
+ build:
+ context: ./
+ dockerfile: libeufin.Dockerfile
+ image: libeufin:dev
+ libeufin-sandbox:
+ depends_on:
+ - libeufin
+ build:
+ context: ./
+ dockerfile: sandbox.Dockerfile
+ image: libeufin-sandbox:dev
+ libeufin-nexus:
+ depends_on:
+ - libeufin
+ build:
+ context: ./
+ dockerfile: nexus.Dockerfile
+ image: libeufin-nexus:dev
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin-deployment] branch master updated: add docker compose for building images,
gnunet <=