mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
feat(docker): enable target-cpu=native
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FROM rust:1-alpine3.19 AS builder
|
||||
ENV RUSTFLAGS="-C target-feature=-crt-static"
|
||||
ENV RUSTFLAGS="-C target-feature=-crt-static -C target-cpu=native"
|
||||
RUN apk add --no-cache musl-dev
|
||||
WORKDIR /pumpkin
|
||||
COPY . /pumpkin
|
||||
|
||||
Reference in New Issue
Block a user