outils_dev_appimage/docker-compose.yml
2022-06-08 17:44:21 +02:00

142 lines
4.2 KiB
YAML

# Les services base et base_qt servent uniquement au build
version: "3.3"
services:
base:
build:
context: .
dockerfile: ./Dockerfile_centos7_base
image: cos7_base
base_qt:
build:
context: .
dockerfile: ./Dockerfile_centos7_base_qt
image: cos7_base_qt
depends_on:
- base
qtcreator:
build:
context: ./qtcreator/
dockerfile: ./Dockerfile_centos7_qtcreator
image: cos7_qtcreator
container_name: docker_cos7_qtcreator
privileged: true
volumes:
- ./qtcreator:/build
- ./template.sh:/template.sh
#tty: true
env_file:
- ./.env
environment:
- CUSTOM_STEP_PRE_DEPLOY=/build/qtcreator_pre_step.sh
- CUSTOM_STEP_POST_DEPLOY=/build/qtcreator_post_step.sh
- EXTRA_QT_PLUGINS=printsupport;sql;designer
- QML_SOURCES_PATHS=/qt-creator/qtcreator_build/share/qtcreator/
- NOM_APPIMAGE=qtcreator_5.0.2
command : ["bash", "-c","/template.sh /qt-creator/qtcreator_build/bin/qtcreator /build"]
git:
build:
context: ./git/
dockerfile: ./Dockerfile_centos7_git
image: cos7_git
container_name: docker_cos7_git
privileged: true
volumes:
- ./git:/build
- ./template.sh:/template.sh
env_file:
- ./.env
environment:
- CUSTOM_STEP_PRE_DEPLOY=/build/git_pre_step.sh
- CUSTOM_STEP_POST_DEPLOY=/build/git_post_step.sh
- NOM_APPIMAGE=git_2.32.0
command : ["bash", "-c","/template.sh /usr/local/bin/git /build"]
qgit:
build:
context: ./qgit/
dockerfile: ./Dockerfile_centos7_qgit
image: cos7_qgit
container_name: docker_cos7_qgit
privileged: true
volumes:
- ./qgit:/build
- ./template.sh:/template.sh
env_file:
- ./.env
environment:
- CUSTOM_STEP_PRE_DEPLOY=/build/qgit_pre_step.sh
- NOM_APPIMAGE=qgit_2.9
command : ["bash", "-c","/template.sh /qgit/bin/qgit /build"]
qcachegrind:
build:
context: ./qcachegrind/
dockerfile: ./Dockerfile_centos7_qcachegrind
image: cos7_qcachegrind
container_name: docker_cos7_qcachegrind
privileged: true
volumes:
- ./qcachegrind:/build
- ./template.sh:/template.sh
env_file:
- ./.env
environment:
- CUSTOM_STEP_PRE_DEPLOY=/build/qcachegrind_pre_step.sh
- NOM_APPIMAGE=qcachegrind_21.04.2
command : ["bash", "-c","/template.sh /kcachegrind/qcachegrind/qcachegrind /build"]
valgrind:
build:
context: ./valgrind/
dockerfile: ./Dockerfile_centos7_valgrind
image: cos7_valgrind
container_name: docker_cos7_valgrind
privileged: true
volumes:
- ./valgrind:/build
- ./template.sh:/template.sh
env_file:
- ./.env
environment:
- CUSTOM_STEP_PRE_DEPLOY=/build/valgrind_pre_step.sh
- NOM_APPIMAGE=valgrind_3.17
command : ["bash", "-c","/template.sh /usr/local/bin/valgrind /build"]
kdiff3:
build:
context: ./kdiff3/
dockerfile: ./Dockerfile_centos7_kdiff3
image: cos7_kdiff3
container_name: docker_cos7_kdiff3
privileged: true
volumes:
- ./kdiff3:/build
- ./template.sh:/template.sh
env_file:
- ./.env
environment:
- CUSTOM_STEP_PRE_DEPLOY=/build/kdiff3_pre_step.sh
- NOM_APPIMAGE=kdiff_3_1.9.2
command : ["bash", "-c","/template.sh /usr/local/bin/kdiff3 /build"]
tilix:
build:
context: ./tilix
dockerfile: ./Dockerfile_centos7_tilix
image: cos7_tilix
container_name: docker_cos7_tilix
privileged: true
volumes:
- ./tilix:/build
- ./template.sh:/template.sh
env_file:
- ./.env
environment:
- CUSTOM_STEP_PRE_DEPLOY=/build/tilix_pre_step.sh
- CUSTOM_STEP_POST_DEPLOY=/build/tilix_post_step.sh
- NOM_APPIMAGE=tilix_1.9.4
command : ["bash", "-c","/template.sh /usr/bin/tilix /build"]