Closed cmnrd closed 3 months ago
The changes in DockerGenerator.java
update script execution commands to use .
instead of source
. This adjustment affects methods responsible for generating pre-build, post-build, and entry-point commands. The primary aim is to align with common shell scripting practices and enhance compatibility across different environments.
Files | Change Summaries |
---|---|
core/src/main/java/org/lflang/generator/docker/DockerGenerator.java |
Updated pre-build, post-build, and entry point commands to use . instead of source for script execution. |
sequenceDiagram
participant User
participant DockerGenerator
User->>DockerGenerator: Execute pre-build command
DockerGenerator->>User: . src-gen/pre-build-script.sh
User->>DockerGenerator: Execute post-build command
DockerGenerator->>User: . src-gen/post-build-script.sh
User->>DockerGenerator: Execute entry-point command
DockerGenerator->>User: . scripts/entry-point.sh
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Some images, like debian slim, use the
/bin/sh
which does not provide asource
command. This PR replacessource
with.
.Summary by CodeRabbit
.
instead ofsource
.