Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

base.Dockerfile included in built package #1484

Open
chrmarti opened this issue Jun 1, 2022 · 6 comments
Open

base.Dockerfile included in built package #1484

chrmarti opened this issue Jun 1, 2022 · 6 comments
Assignees
Milestone

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Jun 1, 2022

Not sure when this started, but with 0.237.0 I see the base.Dockerfile included in the package we use for Remote-Containers. E.g., with the Node.js & TypeScript template.

@joshspicer
Copy link
Member

Interesting, I am unsure what could've changed 🤔

@Chuxel
Copy link
Member

Chuxel commented Jun 1, 2022

It looks like pagination logic got thrown off somehow. See the log snippet below from the package step in the release. There are two pages despite the fact only one is configured. I suspect this was triggered by this PR that removed the parent from java-8 since it's no longer needed. That exposed an existing bug.

@joshspicer If you tactically add the parent back, that should resolve it since that only affects build order. You can then see what might be throwing the logic off.

(*) Builds paginated as follows: [
    [
        "debian",
        "ubuntu",
        "cpp",
        "alpine",
        "codespaces-linux",
        "dotnet",
        "go",
        "java",
        "java-8",
        "php",
        "python-3",
        "python-3-anaconda",
        "python-3-miniconda",
        "rust",
        "ruby",
        "jekyll"
    ],
    [
        "javascript-node",
        "typescript-node",
        "github.com/microsoft/vscode"
    ]
]
(*) Processing page 1 of 1.

The definitions listed in page 1 have their base.Dockerfile removed, but page 2 does not.

@chrmarti
Copy link
Contributor Author

chrmarti commented Jun 3, 2022

Are we still using npm for creating the package? We could just add base.Dockerfile to the .npmignore.

@joshspicer
Copy link
Member

@samruddhikhandale , as you're directly working with the build tool, something to keep an eye out for.

@chrmarti
Copy link
Contributor Author

chrmarti commented Jun 9, 2022

Opened #1494 for the .npmignore suggestion. We need to get a fix in place for the release.

@chrmarti chrmarti added this to the May 2022 milestone Jun 13, 2022
@chrmarti
Copy link
Contributor Author

Still an issue in 0.241.1. 🤔

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

No branches or pull requests

3 participants