vscode-dev-containers icon indicating copy to clipboard operation
vscode-dev-containers copied to clipboard

base.Dockerfile included in built package

Open chrmarti opened this issue 2 years ago • 6 comments

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.

chrmarti avatar Jun 01 '22 05:06 chrmarti

Interesting, I am unsure what could've changed 🤔

joshspicer avatar Jun 01 '22 13:06 joshspicer

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.

Chuxel avatar Jun 01 '22 16:06 Chuxel

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

chrmarti avatar Jun 03 '22 06:06 chrmarti

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

joshspicer avatar Jun 03 '22 11:06 joshspicer

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

chrmarti avatar Jun 09 '22 07:06 chrmarti

Still an issue in 0.241.1. 🤔

chrmarti avatar Jun 28 '22 14:06 chrmarti