It is not unusual to have a container with all your build tools and development environment, including all testing and code review tools.ensures
To work
on software, you would launch your IDE in this container. The output is used
to build the containerized app (a separate container). This method
all developers use the exact same development environment, and that this environment can be recreated exactly, years later if needed, to updateI've seen many cases where the build/test phase would be executed inside
old code.
CI/CD setups make such work-flows nearly painless: you fire up your containerized IDE, work on code, and do a push to the shared repo when ready.
Every other step (except for human code review) is or can be automated.
Currently Linux is required. You can use Docker on Windows by running a LinuxDocker is supported on Windows 10 and MacOS.
VM that in turn runs all the containers.
On 2021-12-20 21:10, Wayne wrote:
It is not unusual to have a container with all your build tools and development environment, including all testing and code review tools.
To work
on software, you would launch your IDE in this container. The output is used
to build the containerized app (a separate container). This method ensures
all developers use the exact same development environment, and that this environment can be recreated exactly, years later if needed, to update
old code.
CI/CD setups make such work-flows nearly painless: you fire up your containerized IDE, work on code, and do a push to the shared repo when ready.I've seen many cases where the build/test phase would be executed inside a container.
Every other step (except for human code review) is or can be automated.
The build might yield an executable or an image for runtime container.
But I've never seen the case where the development itself ("launch your IDE in a
container") would take place in a container. Can people confirm that this is an
established practice? Docker containers generally don't have display ports...
Currently Linux is required. You can use Docker on Windows by running a LinuxDocker is supported on Windows 10 and MacOS.
VM that in turn runs all the containers.
But I've never seen the case where the development itself ("launch your
IDE in a container") would take place in a container. Can people confirm
that this is an established practice? Docker containers generally don't
have display ports...
On 12/30/2021 7:41 AM, Daniele Futtorovic wrote:[...]
On 2021-12-20 21:10, Wayne wrote:
[...]But I've never seen the case where the development itself ("launch
your IDE in a container") would take place in a container. Can
people confirm that this is an established practice? Docker
containers generally don't have display ports...
The thing is, Linux containers *do* support running GUIs from containers, but I don't think native Windows containers do (at least not yet). You could also
use a VM for development instead of a container, and I've heard of that (using
Vagrant), but containers with Eclipse, STS4, or IntelliJ are smaller and faster to launch, so that makes them a better choice. But to be honest, I cannot find my references to someone claiming to do this; I just remember reading about it.
How's the experience? Would you recommend it?
Wayne <wayne@nospam.invalid> writes:
On 12/30/2021 7:41 AM, Daniele Futtorovic wrote:[...]
On 2021-12-20 21:10, Wayne wrote:
[...]But I've never seen the case where the development itself ("launch
your IDE in a container") would take place in a container. Can
people confirm that this is an established practice? Docker
containers generally don't have display ports...
The thing is, Linux containers *do* support running GUIs from containers, but
I don't think native Windows containers do (at least not yet). You could also
use a VM for development instead of a container, and I've heard of that (using
Vagrant), but containers with Eclipse, STS4, or IntelliJ are smaller and
faster to launch, so that makes them a better choice. But to be honest, I >> cannot find my references to someone claiming to do this; I just remember
reading about it.
They are doing it at my current company. Those that I know of use
vscode. The way I know is that I had the same question about whether
the Xserver would allow connecting to the display from a potentially different userid in the container. It's probably the correct one from
the outside. I don't know any details, it just works.
On Mon, 10 Jan 2022 17:47:49 +0100, Daniele Futtorovic wrote:
How's the experience? Would you recommend it?
1) how much time does it take to rebuild/retest/roll out a new version of
the container whenever a new version of any of it's components is
released and how often does this happen?
2) how does the Container Maintainer like doing that job?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 55:05:44 |
Calls: | 6,650 |
Calls today: | 2 |
Files: | 12,200 |
Messages: | 5,330,746 |