Closed alecthegeek closed 6 days ago
Workaround:
Build your own custom image for linux/arm64. For example:
FROM golang:bookworm AS gobuild
WORKDIR /app/vale
RUN git clone https://github.com/errata-ai/vale.git . \
&& CGO_ENABLED=1 go build -ldflags "-s -w -X main.version=$(git describe --abbrev=0 --tags)" -o /app/bin/vale ./cmd/vale
FROM debian:testing-slim
...
COPY --from=gobuild /app/bin/vale /usr/local/bin
...
Check for existing issues
Environment
OS -- Linux running on ARM64 and Macos on M1 Arm
Docker image
Describe the bug / provide steps to reproduce it
The docker image for arm64 contains the X86 binary.
Vale cannot run in a container on Arm hardware