-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildProdImages.sh
More file actions
executable file
·33 lines (24 loc) · 1.31 KB
/
Copy pathbuildProdImages.sh
File metadata and controls
executable file
·33 lines (24 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
QP_VERSION_TAG=":v0.5.0"
REGISTRY_PREFIX="docker.miracum.org/ds_miracum_ci_test"
printf "building images ...\n"
cd ds_rstudio
printf "pull ds_analysis base image \n"
docker pull $REGISTRY_PREFIX/ds_analysis_base:latest
docker tag $REGISTRY_PREFIX/ds_analysis_base:latest ds_analysis_base:latest
printf "building image: $REGISTRY_PREFIX/ds_analysis$QP_VERSION_TAG \n"
docker build -f Dockerfile.rstudio.ds -t $REGISTRY_PREFIX/ds_analysis$QP_VERSION_TAG .
cd ../ds_opal/opal_with_init
printf "building image: $REGISTRY_PREFIX/ds_opal$QP_VERSION_TAG \n"
docker build -f Dockerfile -t $REGISTRY_PREFIX/ds_opal$QP_VERSION_TAG .
cd ../../ds_poll_monitor_server
printf "building image: $REGISTRY_PREFIX/ds_poll_gui$QP_VERSION_TAG \n"
docker build -f Dockerfile.poll_gui_server -t $REGISTRY_PREFIX/ds_poll_gui$QP_VERSION_TAG .
printf "building image: $REGISTRY_PREFIX/ds_poll$QP_VERSION_TAG \n"
docker build -f Dockerfile.poll_server -t $REGISTRY_PREFIX/ds_poll$QP_VERSION_TAG ../
cd ../ds_queue
printf "building image: $REGISTRY_PREFIX/ds_queue$QP_VERSION_TAG \n"
docker build -f Dockerfile.queue -t $REGISTRY_PREFIX/ds_queue$QP_VERSION_TAG .
cd ../ds_queue
printf "building image: $REGISTRY_PREFIX/ds_queue_nginx$QP_VERSION_TAG \n"
docker build -f Dockerfile.nginx.queue -t $REGISTRY_PREFIX/ds_queue_nginx$QP_VERSION_TAG .