mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
Remove target-cpu=native from Docker
This can cause illegal instructions when using the public docker image build on the CI
This commit is contained in:
committed by
GitHub
parent
e8deff519e
commit
febbfd89e6
@@ -1,7 +1,7 @@
|
||||
FROM rust:1-alpine3.21 AS builder
|
||||
ARG GIT_VERSION=Docker
|
||||
ENV GIT_VERSION=$GIT_VERSION
|
||||
ENV RUSTFLAGS="-C target-feature=-crt-static -C target-cpu=native"
|
||||
ENV RUSTFLAGS="-C target-feature=-crt-static"
|
||||
RUN apk add --no-cache musl-dev
|
||||
|
||||
WORKDIR /pumpkin
|
||||
|
||||
Reference in New Issue
Block a user