jennet icon indicating copy to clipboard operation
jennet copied to clipboard

Using last alpine

Open waghanza opened this issue 1 year ago • 0 comments

Hi @Theodus,

With the following dockerfile

FROM ponylang/ponyc:0.52.5-alpine

WORKDIR /src/main

COPY corral.json ./
RUN corral fetch

COPY main.pony ./

RUN apk update && apk upgrade --no-cache

  RUN apk add openssl-dev



RUN corral run ponyc -- -Dopenssl_1.1.x -Dstatic -bjennet

FROM alpine:3.16

RUN apk --no-cache add libatomic libexecinfo libgcc

WORKDIR /opt/
COPY --from=0 /src/main/jennet ./
CMD ./jennet

I can run jennet in https://github.com/the-benchmarker/web-frameworks

But I can not use the latest alpine version since libexecinfo.so.1 is not shipped with alpine anymore.

Do you have a replacement, so a the latest alpine could be used ?

Regards,

waghanza avatar Jan 01 '23 14:01 waghanza