mirror of
https://github.com/j178/prek.git
synced 2026-06-19 17:17:53 +02:00
Fix docker build command (#1395)
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ RUN case "${TARGETPLATFORM}" in \
|
||||
"linux/arm64") export JEMALLOC_SYS_WITH_LG_PAGE=16;; \
|
||||
esac && \
|
||||
cargo zigbuild --bin prek --profile dist --target $(cat rust_target.txt)
|
||||
RUN cp target/$(cat rust_target.txt)/release/prek /prek
|
||||
RUN cp target/$(cat rust_target.txt)/dist/prek /prek
|
||||
# TODO: Optimize binary size, with a version that also works when cross compiling
|
||||
# RUN strip --strip-all /prek
|
||||
|
||||
|
||||
Reference in New Issue
Block a user