We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfe843f commit 1f2d5d9Copy full SHA for 1f2d5d9
linux/Dockerfile
@@ -96,10 +96,8 @@ RUN git clone https://github.com/crystal-lang/shards \
96
&& git checkout ${shards_version} \
97
&& shards install --production \
98
\
99
- # Hack to make shards not segfault
100
- && echo 'require "llvm/lib_llvm"; require "llvm/enums"; require "./src/shards"' > hack.cr \
101
&& /crystal/bin/crystal build --stats --target ${musl_target} \
102
- hack.cr -o shards --static ${release:+--release} \
+ ./src/shards.cr -o shards --static ${release:+--release} \
103
&& ([ "$(ldd shards | wc -l)" -eq "1" ] || { echo 'shards is not statically linked'; ldd shards; exit 1; })
104
105
COPY files/crystal-wrapper /output/bin/crystal
0 commit comments