mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-01-18 12:34:38 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
0f9ee38db1
commit
5b6fa95b93
12
Dockerfile
12
Dockerfile
@ -22,11 +22,11 @@ RUN apk -U upgrade && \
|
|||||||
php8-cgi
|
php8-cgi
|
||||||
|
|
||||||
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 CFLAGS="-static" --prefix=/usr/local/share/cherokee --enable-static-module=all && \
|
#./configure CFLAGS="-static" --prefix=/usr/local/share/cherokee --enable-static-module=all && \
|
||||||
make LDFLAGS="-all-static" && 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 --no-cache \
|
apk del --no-cache \
|
||||||
alpine-sdk \
|
alpine-sdk \
|
||||||
autoconf \
|
autoconf \
|
||||||
@ -39,7 +39,7 @@ RUN git clone https://github.com/cherokee/webserver.git . && \
|
|||||||
mariadb-dev \
|
mariadb-dev \
|
||||||
libtool && \
|
libtool && \
|
||||||
mkdir -p /buildroot && \
|
mkdir -p /buildroot && \
|
||||||
cp -Rf "/usr/local/" "/buildroot/"
|
cp -Rf "/usr/local/." "/buildroot/" && \
|
||||||
rm -Rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/src/*
|
rm -Rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/src/*
|
||||||
|
|
||||||
FROM casjaysdevdocker/php:latest AS source
|
FROM casjaysdevdocker/php:latest AS source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user