FROM alpine:3.18 RUN apk add --update bash build-base curl git autoconf flex bison linux-headers ncurses-dev readline-dev && rm -rf /var/cache/apk/* ADD build.sh /build.sh RUN echo "alpine" > /dist ENTRYPOINT [ '/build.sh' ]