Skip to content

BUG Project fails to build in DevContainer #1027

Closed

Description

Description

After cloning the project and building the the project using the Dockerfile, the build fails during the installation of mssql-tools. There is a following issue:

E: Unable to locate package mssql-tools

Steps/Code to Reproduce

Select the option of "DevContainers: Reopen in Container"

Screenshots

Image

Versions

  • OS: macOS 15.5
  • IDE: VSCode
  • PyRIT version: v0.9.0

Activity

  1. romanlutz commented on Jul 26, 2025

    @romanlutz
    Contributor
  2. bashirpartovi commented on Jul 26, 2025

    @bashirpartovi
    Contributor

    Aditya Patel (@adityapatel1010) are you pulling the latest version of the repo? Are you using Docker Desktop?

  3. adityapatel1010 commented on Jul 27, 2025

    @adityapatel1010
    Author

    Thank you for looking into the issue. Yes Bashir Partovi (@bashirpartovi), I have pulled the latest version of the repo and I have used Docker Desktop for running the DevContainer tool.

  4. bashirpartovi commented on Jul 29, 2025

    @bashirpartovi
    Contributor

    Aditya Patel (@adityapatel1010) What's your machine's architecture? ARM?

  5. adityapatel1010 commented on Jul 29, 2025

    @adityapatel1010
    Author

    Bashir Partovi (@bashirpartovi) I am using Macbook M3 with Apple Silicon (ARM64). But, I think there is a problem with export path statement in the Dockerfile 'echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> /etc/profile.d/sqltools.sh', where it is not able to locate the mssql-tools directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions