Docker profiles for developing with local code#649
Conversation
|
The local-frontend workflow invokes ./build.sh, but the frontend repository no longer has the script. ref: ( |
thanks for reminding me, will fix ;-) |
6583a8d to
ae879ec
Compare
|
I uodated the command and rebased the branch, this is ready for review |
|
Following the build steps in https://github.com/baz-ga/Edirom-Online/tree/ftr/local-development I get the following:
|
|
./build.sh references the deprecated fixed the issue for me |
Many thanks for spotting, I forgot to align both Dockerfiles… just fixed it ;-) |
You mean for building the regular services? |
Sorry, I could have been clearer... Build failed with this message. |
|
The problem probably is that at several places in the docs it says |
|
I was just getting to that… |
|
It seems I only tested with all the variables set, and the root cause was a bake bleed-through of the profiles: apparently, a child service’s Moreover, the README wasn’t up to date – at some point, I decided to rename the services for consistency and fixed that, too. Please retest following the README. If it fails again, we’ll push the pull request to the next release. Many thanks for your testing efforts!! @all-contributors, please add @daniel-jettka and @hizclick for testing |
|
Thanks @bwbohl I am really sorry... I tried the building again with a fresh clone, Docker all cleaned up and all env variables unset, but get a notification Let's forward the feature to our next release. I am looking forward to having it because it'll great to be able to build from local sources. |
The dependency is there but depends_on only controls runtime startup
The sections were unmaintained, and made the file too long, maybe something for a separate file, later
* fix build command * add ARG SENCHA_BUILD_ENV
… services Docker Compose v5 bake inherits `profiles:` from parent services via `extends:`, the child’s definition doesn’t seem to be an explicit override. Removing `extends:` from the two local services fixed it.
28ca487 to
a47d5e1
Compare



Description, Context and related Issue
The docker-compose setup has positively impacted Edirom Online development, and especially when doing code reviews. The downside is however, that the code sued when building backend and forntend would have to be available online. This pull request adds the ability to build with local code clones and moreover to bind mount the local code to a shared builder architecture that allows interactive development.
Refs # dang ;-)
How Has This Been Tested?
Locally
Types of changes
Overview