Describe the bug
The new version 0.16.0 for hledger-flow fails with below error when running it inside a Debian Docker image built on MacOS machine with M1 chip.
# hledger-flow --version
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
Trace/breakpoint trap
Version and Runtime Information
0.16.0
Debian docker image built on MacOS machine with M1 chip.
Base Docker Image python:3.13-slim
Please mention the version number of hledger-flow you are using:
Can't get the version through CLI, because that itself fails.
Is this the latest version?
Please confirm your issue using the latest version of hledger-flow, maybe it has already been fixed.
Yes. Latest version 0.16.0 from releases page.
Also include the runtime options of the command you ran, e.g:
This command also fails.
# hledger-flow --show-options import
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
Trace/breakpoint trap
To Reproduce
Create a custom docker image with a Dockerfile.
FROM python:3.13-slim
ENV LANG="C.UTF-8"
RUN apt update -y
RUN apt install -y --no-install-recommends build-essential gcc curl
RUN cd /tmp
RUN curl -fLOC- https://github.com/simonmichael/hledger/releases/download/1.43.2/hledger-linux-x64.tar.gz && \
tar xzf hledger-linux-x64.tar.gz && \
mv hledger /usr/local/bin/ && \
mv hledger-ui /usr/local/bin/ && \
mv hledger-web /usr/local/bin/ && \
rm hledger*
RUN curl -LOC- https://github.com/apauley/hledger-flow/releases/download/v0.16.0/hledger-flow_Linux_x86_64_v0.16.0_5901ca5.tar.gz && \
tar xvf hledger-flow_Linux_x86_64_v0.16.0_5901ca5.tar.gz && \
mv hledger-flow_Linux_x86_64_v0.16.0_5901ca5/hledger-flow /usr/local/bin/ && \
rm -rf hledger-flow_Linux_x86_64_v0.16.0_5901ca5 hledger-flow_Linux_x86_64_v0.16.0_5901ca5.tar.gz
RUN hledger-flow --version
Expected behavior
hledger-flow should work inside Docker image built on MacOS with M1 chip machine.
Desktop (please complete the following information):
- OS: MacOS Apple M1 Pro chip
- Version: 15.16.1
Describe the bug
The new version 0.16.0 for hledger-flow fails with below error when running it inside a Debian Docker image built on MacOS machine with M1 chip.
Version and Runtime Information
0.16.0
Debian docker image built on MacOS machine with M1 chip.
Base Docker Image
python:3.13-slimPlease mention the version number of
hledger-flowyou are using:Can't get the version through CLI, because that itself fails.
Is this the latest version?
Please confirm your issue using the latest version of
hledger-flow, maybe it has already been fixed.Yes. Latest version 0.16.0 from releases page.
Also include the runtime options of the command you ran, e.g:
This command also fails.
To Reproduce
Create a custom docker image with a
Dockerfile.Expected behavior
hledger-flow should work inside Docker image built on MacOS with M1 chip machine.
Desktop (please complete the following information):