Project

General

Profile

Bug #3066 » Dockerfile

elchenberg, 2021-02-06 14:54

 
FROM alpine:3.13
RUN apk add --no-cache bsd-compat-headers build-base lua5.3-dev patch scons
RUN set -o xtrace; pkg-config --version; python3 --version; scons --version
WORKDIR /usr/local/src/lighttpd
RUN wget --output-document=lighttpd.tar.gz "https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.58.tar.gz"
RUN tar --extract --gzip --strip-components=1 --file=lighttpd.tar.gz
COPY sconstruct-oserror.patch sconstruct-oserror.patch
RUN patch --strip=0 --input=sconstruct-oserror.patch
RUN scons with_lua=yes with_pcre=no install
(1-1/2)