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
6969RUN git clone https://github.com/crystal-lang/shards \
7070 && cd shards \
7171 && 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 \
7275 && make SHARDS=false CRYSTAL=/crystal/bin/crystal \
7376 FLAGS="--stats --target ${musl_target} --static ${release:+--release}" \
7477 \
7578 && 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; })
7880
7981COPY --from=bdwgc /bdwgc/.libs/libgc.a /libgc-debian.a
8082
You can’t perform that action at this time.
0 commit comments