Skip to content

Commit

Permalink
include zstd-static in alpine linking
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed May 16, 2023
1 parent 97cc9de commit 3490666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apk add --update --no-cache \
ARG TARGETARCH
# Build crystal
WORKDIR /tmp/crystal
ARG crystal_version=1.7.3
ARG crystal_version=1.8.2
RUN git clone --depth=1 --single-branch --branch=$crystal_version https://github.com/crystal-lang/crystal.git . && \
gzip -9 man/crystal.1 && \
mkdir .build && \
Expand All @@ -27,10 +27,10 @@ RUN git clone --depth=1 --single-branch --branch=v${shards_version} https://gith

# link on target platform
FROM alpine:$alpine_version AS target-builder
ARG llvm_version=14
ARG llvm_version=15
RUN apk add --update --no-cache \
llvm${llvm_version}-dev llvm${llvm_version}-static \
zlib-static yaml-static libxml2-static pcre-dev pcre2-dev libevent-static \
zstd-static zlib-static yaml-static libxml2-static pcre-dev pcre2-dev libevent-static \
libffi-dev git g++ make automake libtool autoconf curl
# Build libgc
WORKDIR /tmp/libc
Expand Down

0 comments on commit 3490666

Please sign in to comment.