File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,14 @@ ARG musl_target
69
69
RUN git clone https://github.com/crystal-lang/shards \
70
70
&& cd shards \
71
71
&& git checkout ${shards_version} \
72
+ # FIXME: This is a workaround for shards' Makefile not touching `shard.lock`
73
+ # when SHARDS=false
74
+ && touch shard.lock \
72
75
&& make SHARDS=false CRYSTAL=/crystal/bin/crystal \
73
76
FLAGS="--stats --target ${musl_target} --static ${release:+--release}" \
74
77
\
75
78
&& bin/shards --version \
76
- && ( (readelf --program-headers bin/shards | grep -q "Elf file type is EXEC" ) || { echo 'shards is not statically linked' ; exit 1; }) \
77
- && readelf --program-headers bin/shards
79
+ && ( (readelf --program-headers bin/shards | grep -q "Elf file type is EXEC" ) || { echo 'shards is not statically linked' ; exit 1; })
78
80
79
81
COPY --from=bdwgc /bdwgc/.libs/libgc.a /libgc-debian.a
80
82
You can’t perform that action at this time.
0 commit comments