Skip to content

Commit

Permalink
add yaml-static as depdency for alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Jan 27, 2025
1 parent 0ba7a81 commit a2401be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN sh -ex bin/shards.sh && strip bin/shards
# start from a clean image
FROM alpine:$alpine_version
# add dependencies commonly required for building crystal applications
RUN apk add --update --no-cache musl-dev gcc pcre2-dev libevent-dev libevent-static openssl-dev openssl-libs-static libxml2-dev zlib-dev zlib-static git make yaml-dev libxml2-static gmp-dev xz-static
RUN apk add --update --no-cache musl-dev gcc pcre2-dev libevent-dev libevent-static openssl-dev openssl-libs-static libxml2-dev zlib-dev zlib-static git make yaml-dev libxml2-static gmp-dev xz-static yaml-static
# copy the binaries + stdlib + libgc from the build stage
COPY --from=builder /usr/src/crystal/*.md /usr/share/doc/crystal/
COPY --from=builder /usr/src/crystal/man/crystal.1.gz /usr/share/man/man1/
Expand Down

0 comments on commit a2401be

Please sign in to comment.