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

Docker compose build context instruction doesn't work for custom compose service #1432

Closed
trepmag opened this issue Feb 8, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@trepmag
Copy link

commented Feb 8, 2019

Defining a docker compose build context instruction return the following error:

$ lando start
Let's get this party started! Starting app..
error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
...

Here is the related .lando.yml:

name: mytest

services:
  database:
    type: compose
    services:
      image: mytest:1
      build:
        context: .
        #dockerfile: Dockerfile_database
      command: docker-entrypoint.sh postgres

And the Dockerfile:

FROM postgres:9.4

@trepmag trepmag added the bug label Feb 8, 2019

@pirog

This comment has been minimized.

Copy link
Member

commented Feb 8, 2019

@trepmag yup, can definitely replicate this as well, just need to make our path normalization smarter here.

@pirog pirog added this to the 3.0.0-rc.10 milestone Feb 8, 2019

@pirog pirog self-assigned this Feb 8, 2019

pirog added a commit that referenced this issue Feb 8, 2019

@pirog

This comment has been minimized.

Copy link
Member

commented Feb 9, 2019

@pirog pirog closed this Feb 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.