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
Assignees
Labels
bug Something aint working right!
Milestone

Comments

@trepmag
Copy link

trepmag 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 Something aint working right! label Feb 8, 2019
@pirog
Copy link
Member

pirog 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
Copy link
Member

pirog commented Feb 9, 2019

@pirog pirog closed this as completed Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something aint working right!
Projects
None yet
Development

No branches or pull requests

2 participants