Add an ability to specify entrypoint for dockerimage tool in Devfile
See original GitHub issueDescription
There are cases when a user wants to use some official docker image in dockerimage
tool but default entrypoint is not suitable for his needs. In this case, it is needed to have an ability to specify entrypoint and arguments for dockerimage
tool in Devfile.
The proposal is to add two optional fields command
and arguments
which type is string array
. It’s the same as Kubernetes Container model has https://docs.openshift.com/container-platform/3.5/rest_api/kubernetes_v1.html#v1-container.
It would look like the following
- name: nodejs
type: dockerimage
image: node:0.10.40
command: ['/bin/sh', '-c']
args: ['tail -f /dev/null']
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Introduction to Devfile - GitHub Pages
A single devfile can specify several projects. For each project, one has to specify the type of the source repository, its location and...
Read more >Chapter 4. Authoring devfiles - Red Hat Customer Portal
A component type that allows to define a container image-based configuration of a container in a workspace. The dockerimage type of component brings...
Read more >Dockerfile reference - Docker Documentation
The WORKDIR instruction sets the working directory for any RUN , CMD , ENTRYPOINT , COPY and ADD instructions that follow it in...
Read more >API
Resources to build a docker image for a Fleet (Jetbrains IDE) server - GitHub ... Devfile configuration file To configure a dev environment...
Read more >Running Keycloak in a container
Building your optimized Keycloak docker image · Run the build command to set server build options to create an optimized image. · The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 for
containerCommand
andcontainerArgs
👍 to use attributes until we remove workspace config and start using devfile directly. I’m OK with the proposed names