Is build process always using `docker` environmen...
# docker
c
Is build process always using
docker
environment and hence
config_default-docker.php
or can it be changed somehow?
example from build logs:
Copy code
#22 name: "[application-production-codebase 8/9] RUN vendor/bin/install -r docker -s build -s build-production -vvv"
in
deploy.yml
we have
Copy code
environment: production
q
@high-pencil-62400 is unfortunately not available
let me take some guesses here 😊
🧐 1
thee
install -r docker
means that it is installing the system following the recipe in
config/install/docker.yml
let’s see where we get that from
c
can we change it to use another recipe or is it fixed?
q
it is coming from SPRYKER_PIPELINE
looking into the Dockerfiles in
docker/deployment/default/images
i see that it uses
install -r ${SPRYKER_PIPELINE}
currently trying to find it
(slack has network issues, some messages might be delayed at the moment)
βž• 1
c
ok, looks like
SPRYKER_PIPELINE
defaults to
docker
when not set so setting it to some value should do the trick
q
so, you know where to pick up from here? πŸ™‚
c
delegate πŸ˜„
q
πŸ˜‚
c
But yeah, i think i know how to proceed, thanks for pointing it out.
q
πŸ‘
h
deploy.yml:
Copy code
environment: docker
This maps value to APPLICATION_ENV env variable
Copy code
pipeline: docker2
Will use
config/install/docker2.yml
instruction file.
c
so basically i am missing:
Copy code
pipeline: environment
inside the
deploy.yml
?
h
If you want to use
config/install/environment.yml
then yes. Just add it in deploy.yml root
πŸ‘ 2
q
Any docs about that? πŸ™ˆ
πŸ™Š 2
πŸ™‰ 1
πŸ™ˆ 1