You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Daniel Watford (Jira)" <ji...@apache.org> on 2024/10/15 14:26:00 UTC

[jira] [Commented] (OFBIZ-13151) Use Development Containers as development environments with necessary build tools already available

    [ https://issues.apache.org/jira/browse/OFBIZ-13151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889700#comment-17889700 ] 

Daniel Watford commented on OFBIZ-13151:
----------------------------------------

I run bluefin-dx as my operating system (https://docs.projectbluefin.io/bluefin-dx). This is an image based build of Linux where the base layer of the system comes from an image published every week or so, and the majority of user-space applications come from flatpacks, brew and containers.

To avoid installing lots of development tools in user-space, I have been using devcontainers in most of my projects for the last year. They are really useful for isolating development environments to avoid dependency clash. 

In the case of OFBiz, I think dev containers could be useful to isolate different versions of the java SDK or Node among branches. We can also add tools, such as Act, to test GitHub Action Workflows before pushing changes to the repository.

> Use Development Containers as development environments with necessary build tools already available
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-13151
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13151
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: Upcoming Branch
>            Reporter: Daniel Watford
>            Priority: Trivial
>
> Development Containers are becoming a popular method of ensuring a container-based development environment has all the tools needed by a developer to work on a project.
> Development Containers ([https://containers.dev/)] depend on the developer's host system running a container runtime, such as Docker. They are supported in IntelliJ and VS Code.
> Inclusion of a Development Container configuration in the ofbiz-framework sources will allow new developers to open their IDE with all development tools - such as the correct version of Java SDK - already in place. This should improve the on-boarding experience for new developers.
> Outside of IDE integration, tools such as DevPod can be used to create and run Development Containers targeting a project. Users can then SSH into the container and carry out development tasks such as gradle builds. This might be an integration point for IDEs that do not currently have  support Development Containers, such as Eclipse.
>  
> Further reading:
> [https://blog.jetbrains.com/idea/2024/07/using-dev-containers-in-jetbrains-ides-part-1/]
> [https://github.com/JetBrains/devcontainers-examples]
> [https://containers.dev/]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)