question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make it possible to customise images for dev containers

See original GitHub issue

In this issue I want to discuss the way in which we would have an ability to customise images used in dev containers.

Right now the whole list of images which are used in dev containers is located in https://github.com/eclipse/che-devfile-registry/blob/master/arbitrary-users-patch/base_images and we don’t have a good way to patch/customise only one of them, for example, install yarn into registry.centos.org/che-stacks/centos-nodejs or unset some env in che-java11-maven.

I suggest to move all dockerfiles from che-devfiles-registry to https://github.com/che-dockerfiles as @benoitf did for dockerfiles which are used in che remote plugins. For this we’d need to create a repository for each of them in https://github.com/che-dockerfiles and add github actions to build and publish. In that case in che-devfile-registre we will have only devfiles.

WDYT @benoitf @amisevsk @tsmaeder @l0rd

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tsmaedercommented, Dec 16, 2019

Update the arbitrary UID patch to use the che-dockerfiles images as a base, where necessary

I would do it the other way around, t.b.h: the arbitrary-users-patch takes community images and makes them usable on OpenShift. These OS-capable images can serve as a base for multiple other images, for example one including yarn, but maybe we have a second one that uses a gulp, for example.

0reactions
che-botcommented, Jun 17, 2020

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a Dev Container - Visual Studio Code
Work with a container deployed application defined by an image, Dockerfile, or Docker Compose. Use Docker or Kubernetes from inside a dev container...
Read more >
How to create a custom image from a Docker container
I'm going to show you how you can do just that–create an image from a container using the Docker runtime engine. What you'll...
Read more >
How to customize Docker containers in Visual Studio
You can customize your container images by editing the Dockerfile that Visual Studio generates when you add Docker support to your project.
Read more >
How to Build and Run Your Own Container Images - SUSE
There are a few different ways to create container images. One of the easiest to to get started with is to interactively create...
Read more >
Create a base image - Docker Documentation
Create a simple parent image using scratch . You can use Docker's reserved, minimal image, scratch , as a starting point for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found