Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal instruction when using beta inside Docker #15181

Open
npezza93 opened this issue Nov 25, 2024 · 2 comments
Open

Illegal instruction when using beta inside Docker #15181

npezza93 opened this issue Nov 25, 2024 · 2 comments

Comments

@npezza93
Copy link

npezza93 commented Nov 25, 2024

What version of Tailwind CSS are you using?

v4 beta 2

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

ARG RUBY_VERSION=3.4.0-preview2
FROM docker.io/library/ruby:$RUBY_VERSION-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'

@Robert344Humphries

This comment was marked as spam.

@Christin602Bey

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants