File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,14 @@ services:
114114 # APPLICATION SERVICES (profile: full - only for E2E tests)
115115 # =============================================================================
116116
117+ # Shared base image for backend
118+ base :
119+ build :
120+ context : ./backend
121+ dockerfile : Dockerfile.base
122+ image : integr8scode-base:latest
123+ profiles : ["full"]
124+
117125 # Certificate generator for TLS
118126 shared-ca :
119127 image : alpine:latest
@@ -151,6 +159,8 @@ services:
151159 build :
152160 context : ./backend
153161 dockerfile : Dockerfile
162+ additional_contexts :
163+ base : service:base
154164 profiles : ["full"]
155165 container_name : backend
156166 ports :
@@ -173,6 +183,8 @@ services:
173183 extra_hosts :
174184 - " host.docker.internal:host-gateway"
175185 depends_on :
186+ base :
187+ condition : service_completed_successfully
176188 cert-generator :
177189 condition : service_completed_successfully
178190 mongo :
You can’t perform that action at this time.
0 commit comments