DEV Community

Discussion on: CI/CD with Wercker

Collapse
 
rafalpienkowski profile image
Rafal Pienkowski • Edited

Hi.

Did you add the executable right the docker_entrypoiny.sh in your wercker.yml file before you copied in into docker image?

Like in the example below:

build:
  steps: 
    (...)   
    - script:
        name: chmod
        cwd: src/StatlerWaldorfCorp.LocationReporter.Service
        code: |
          chmod +x ./docker_entrypoint.sh   
    (...)
packaging:
  steps:
    (...)
    - script:
        name: copy entrypoint
        cwd: src/StatlerWaldorfCorp.LocationReporter.Service
        code: |
          cp docker_entrypoint.sh $WERCKER_OUTPUT_DIR/app 
    (...)
Collapse
 
szyszaf profile image
szyszaf

Hi Rafal,

thanks for fast answer. I had little different wercker.yml however main issue was lack of chmod to grant permossions on this file.

Thread Thread
 
rafalpienkowski profile image
Rafal Pienkowski

No problem. I’m glad that you found the reason for your question:)