build: docker image and compose file
Dockerfile, script entrypoint, docker-compose.yml minimaliste.
Merge request reports
Activity
requested review from @librelois
assigned to @librelois
mentioned in issue #8 (closed)
added 6 commits
-
a64fcb89...2feb399b - 2 commits from branch
master
- dc3e5fff - build: docker image and compose file
- b10a690c - build (docker): configure ports
- 7b72d1dd - build (docker): env var for dev mode and prometheus
- 20df7a0a - build (docker): bump docker-compose version
Toggle commit list-
a64fcb89...2feb399b - 2 commits from branch
added 6 commits
-
1f1c8837...925f0938 - 2 commits from branch
master
- 7e1c8db3 - build: docker image and compose file
- 1b122e7b - build (docker): configure ports
- 8a4214de - build (docker): env var for dev mode and prometheus
- f23240fa - build (docker): bump docker-compose version
Toggle commit list-
1f1c8837...925f0938 - 2 commits from branch
added 6 commits
-
f23240fa...77edd3fc - 2 commits from branch
master
- b77a4a30 - build: docker image and compose file
- bbf588d4 - build (docker): configure ports
- 826ff3b9 - build (docker): env var for dev mode and prometheus
- 71b1a6cd - build (docker): bump docker-compose version
Toggle commit list-
f23240fa...77edd3fc - 2 commits from branch
added 6 commits
-
71b1a6cd...79818a8a - 2 commits from branch
master
- 4e9117e8 - build: docker image and compose file
- 612afbf5 - build (docker): configure ports
- be87a978 - build (docker): env var for dev mode and prometheus
- 99aa2001 - build (docker): bump docker-compose version
Toggle commit list-
71b1a6cd...79818a8a - 2 commits from branch
added 18 commits
-
99aa2001...9bc16904 - 13 commits from branch
master
- 81ebca66 - build: docker image and compose file
- 1c891ba9 - build (docker): configure ports
- d470e0d8 - build (docker): env var for dev mode and prometheus
- 3f66120c - build (docker): bump docker-compose version
- a7c630dc - build (docker): ack name change lc-core -> duniter
Toggle commit list-
99aa2001...9bc16904 - 13 commits from branch
- Resolved by pini
- Resolved by Éloïs
- Resolved by Éloïs
- Resolved by Éloïs
@pini-gh peut tu déplacer tout les fichiers relatifs à docker dans le dossier
docker/
stp ? J'aimerais que la racine du dépôt reste relativement clean, merci :)- Resolved by Éloïs
- Resolved by Éloïs
- Resolved by Éloïs
The question is not here, it's not up to me to find out how to adapt the release workflow to your preferences which are not based on any technical limitation, a dockerfile can be based on an external artifact, it works very well. If you want to bring diffs that need to be done differently to meet the need, it's up to you to figure out how to do it differently and maintain that.
- Resolved by Éloïs
My need is that the Dockerfile should build from the source tree. It's a common use case where one makes some changes to the source tree then rebuilds the docker image from there.
The solution I propose already answers your need: make a script that checks if a file is in
build/duniter
, and compile from source only if the file in question is not present.How about building first the image, then bootstrapping the tests from this image?
The problem is that we can' t run docker in docker. The only exception is to build a docker image in docker, which we do in a special job using a special image (docker:dind). But we can't use the image produced in a next job of the CI, because the other jobs use another image, which contains all the rust ecosystem and the necessary for the tests.
I'd like to experiment with gitlab CI to come up with a proper solution.
I don't care about a "proper" solution, as long as it works and meets the need, and doesn't impact performance, then there's no reason to waste more time, the best is the enemy of the good.
- Resolved by Éloïs
Any good reason not to use alpine? Not that I don't want to switch to Debian. I just need to understand why.
Because the CI jobs use the
paritytech/ci-linux
image (debian based), maintained by the substrate developers, and which contains everything it does to do CI stuff on a substrate project.
added 22 commits
-
7a140461...6c8fa3d1 - 9 commits from branch
master
- ba2f63af - build: docker image and compose file
- 03444d28 - build (docker): configure ports
- 3fe48985 - build (docker): env var for dev mode and prometheus
- 37a6f4a2 - build (docker): bump docker-compose version
- b06abf51 - build (docker): ack name change lc-core -> duniter
- 7b9c46c1 - build (docker): move docker related files into the docker folder
- ca52692c - build (docker): use /var/lib/duniter
- 550c0cb7 - build (docker): variable DUNITER_CHAIN_NAME
- 55c70397 - build (docker): fix typo in docker-compose file
- d54f942a - build (docker): improve description
- ff39a3aa - build (docker): CARGO_PROFILE_RELEASE_LTO="true"
- 9a5bc3a2 - build (docker): build for Debian buster
- e2ce2fed - build (docker): build only when no duniter binary
Toggle commit list-
7a140461...6c8fa3d1 - 9 commits from branch
- Resolved by Éloïs
added 6 commits
- 9e7b55d4 - build (docker): variable DUNITER_CHAIN_NAME
- 3e27fe7b - build (docker): fix typo in docker-compose file
- e39fcedb - build (docker): improve description
- 60199b30 - build (docker): CARGO_PROFILE_RELEASE_LTO="true"
- d0f77448 - build (docker): build for Debian buster
- 74bef233 - build (docker): build only when no duniter binary
Toggle commit listadded 20 commits
-
74bef233...fb75bca5 - 7 commits from branch
master
- 3d30108d - build: docker image and compose file
- 8527dc7e - build (docker): configure ports
- ae5f0a96 - build (docker): env var for dev mode and prometheus
- 63dfbc97 - build (docker): bump docker-compose version
- 6678790d - build (docker): ack name change lc-core -> duniter
- 4456eb54 - build (docker): move docker related files into the docker folder
- 8da55ae1 - build (docker): use /var/lib/duniter
- 931428ab - build (docker): variable DUNITER_CHAIN_NAME
- 9f5e063e - build (docker): fix typo in docker-compose file
- 782f772d - build (docker): improve description
- d42aac05 - build (docker): CARGO_PROFILE_RELEASE_LTO="true"
- 2f87b413 - build (docker): build for Debian buster
- ccc97e92 - build (docker): build only when no duniter binary
Toggle commit list-
74bef233...fb75bca5 - 7 commits from branch
- Resolved by Éloïs
added 1 commit
- 2b7d6d82 - build (docker): entrypoint: --unsafe-ws-external