Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to just build a Docker image? #2624

Closed
niclashedam opened this issue May 17, 2016 · 1 comment
Closed

How to just build a Docker image? #2624

niclashedam opened this issue May 17, 2016 · 1 comment
Labels

Comments

@niclashedam
Copy link

Hello,

I would like to just build a Docker image based on the Dockerfile. When I try, the build fails due to some ruby gem stuff.
bundle install --gemfile=$SHIPPABLE_GEMFILE $SHIPPABLE_BUNDLER_ARGS

My YML file:

build:
  post_ci:
    - docker commit web eu.gcr.io/........
    - docker push eu.gcr.io/........

integrations:
  hub:
    - integrationName: gcr
      type: gcr
      branches:
        only:
          - production
@manishas
Copy link
Contributor

@niclashedam this is because when your ci section is empty we run default commands for ruby language.

To skip the default command you can include something in your ci section as shown below-

build:
  ci:
    - pwd 
  post_ci:
    - docker commit web eu.gcr.io/........
    - docker push eu.gcr.io/........

integrations:
  hub:
    - integrationName: gcr
      type: gcr
      branches:
        only:
          - production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants