Project

General

Profile

Bug #3066 » Dockerfile

elchenberg, 2021-02-06 14:54

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