mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-01-18 06:34:33 -05:00
🗃️ modified: Dockerfile 🗃️
This commit is contained in:
parent
203504ff36
commit
5e0ce5d792
@ -1,4 +1,4 @@
|
|||||||
FROM casjaysdev/alpine:latest as build
|
FROM alpine:3.14 AS build
|
||||||
|
|
||||||
WORKDIR /tmp/build
|
WORKDIR /tmp/build
|
||||||
|
|
||||||
@ -13,14 +13,14 @@ RUN apk -U upgrade && \
|
|||||||
openssl \
|
openssl \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
python3 \
|
python2 \
|
||||||
rrdtool
|
rrdtool
|
||||||
|
|
||||||
RUN git clone https://github.com/cherokee/webserver.git . && \
|
RUN git clone https://github.com/cherokee/webserver.git . && \
|
||||||
libtoolize --force && \
|
libtoolize --force && \
|
||||||
./autogen.sh --prefix=/usr/local/share/cherokee && \
|
./autogen.sh --prefix=/usr/local/share/cherokee && \
|
||||||
./configure --prefix=/usr/local/share/cherokee && \
|
./configure CFLAGS="-static" --prefix=/usr/local/share/cherokee && \
|
||||||
make && make install && \
|
make LDFLAGS="-all-static" && make install && \
|
||||||
echo "<p style='text-align:center'>Built from $(git rev-parse --short HEAD) on $(date)</p>" > ./version.txt && \
|
echo "<p style='text-align:center'>Built from $(git rev-parse --short HEAD) on $(date)</p>" > ./version.txt && \
|
||||||
apk del \
|
apk del \
|
||||||
alpine-sdk \
|
alpine-sdk \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user