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.

Add an ability to specify entrypoint for dockerimage tool in Devfile

See original GitHub issue

Description

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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
l0rdcommented, Feb 19, 2019

👍 for containerCommand and containerArgs

1reaction
garagatyicommented, Feb 19, 2019

👍 to use attributes until we remove workspace config and start using devfile directly. I’m OK with the proposed names

Read more comments on GitHub >

github_iconTop 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 >

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