Skip to content

[V4] Illegal instruction when using beta inside Docker #15181

Closed
@npezza93

Description

@npezza93

What version of Tailwind CSS are you using?

v4 beta 9

What build tool (or framework if it abstracts the build tool) are you using?

docker and ruby

What version of Node.js are you using?

🤷

What browser are you using?

For example: N/A

What operating system are you using?

linux

Reproduction URL

Dockerfile

# syntax=docker/dockerfile:1
# check=error=true

FROM docker.io/library/ruby:3.4.1-slim AS base

RUN apt-get update -qq && \
    apt-get install --no-install-recommends -y curl build-essential git pkg-config && \
    rm -rf /var/lib/apt/lists /var/cache/apt/archives

RUN curl -L -o bin/tailwindcss https://github.com/tailwindlabs/tailwindcss/releases/download/v4.0.0-beta.2/tailwindcss-linux-x64 && \
    chmod a+x ./bin/tailwindcss

RUN ./bin/tailwindcss --help

command: docker buildx build --platform linux/amd64 --file Dockerfile.tw .
Describe your issue

When trying to execute the beta executable in x86 for linux, it errors with '0.054 Illegal instruction'

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