FROM alpine AS builder WORKDIR /root COPY src ./src COPY ssg5 . RUN apk --no-cache add gcc git make musl-dev && \ git clone -b VERSION_0_10_0 https://github.com/kristapsdz/lowdown.git && \ cd lowdown && ./configure && make && make regress && make install && cd .. && \ chmod u+x ./ssg5 && mkdir dst && \ ./ssg5 ./src/ ./dst/ "Le blog de Louis Vallat" "https://blog.louis-vallat.xyz" && rm dst/.files FROM nginx COPY --from=builder /root/dst /usr/share/nginx/html