Skip to content

[GitLab] Gitpod cannot find Dockerfiles in sub-directories #1995

@jankeromnes

Description

@jankeromnes

Describe the bug

When specifying a Dockerfile in your .gitpod.yml on GitLab, but the Dockerfile is located in a sub-directory (i.e. not in repo root), then Gitpod fails with:

Screenshot 2020-10-14 at 11 47 56

Steps to reproduce

  1. Create private repo in GitLab
  2. Create .gitpod.yml with:
image:
  file: test/Dockerfile
  1. Create test/Dockerfile with:
FROM gitpod/workspace-full

Expected behavior

Opening the private GitLab repo in Gitpod should work.

Additional information

Example repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions