Skip to content

[Bug]: #76

@roy29fuku

Description

@roy29fuku

Pre-submission checklist

  • I have searched existing issues to ensure this is not a duplicate
  • I have checked the documentation for relevant information
  • I can reproduce this issue consistently

Bug Category

Installation & Setup

Environment Information

- OS: macOS Sonoma 14.7.4
- Hatchling version: dev

Bug Description

The Docker build fails on ARM64 architecture (Apple Silicon Macs) because the Dockerfile hardcodes the x86_64 Miniforge installer.

Steps to Reproduce

  1. Run docker-compose build hatchling on an Apple Silicon Mac

Expected Behavior

The Dockerfile should detect the host architecture and download the appropriate Miniforge installer (x86_64 or aarch64).

Actual Behavior

> [ 6/11] RUN /bin/bash /tmp/miniforge.sh -b -p /opt/miniforge3:
#0 0.250 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
------
failed to solve: process "/bin/sh -c /bin/bash /tmp/miniforge.sh -b -p ${CONDA_DIR}" did not complete successfully: exit code: 255

Relevant Logs


Configuration Details


MCP Server Information


Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions