diff --git a/Dockerfile b/Dockerfile index f47c896..f38357d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,11 +22,11 @@ RUN apk -U upgrade && \ php8-cgi RUN git clone https://github.com/cherokee/webserver.git . && \ - libtoolize --force && \ - ./autogen.sh --prefix=/usr/local/share/cherokee && \ - ./configure CFLAGS="-static" --prefix=/usr/local/share/cherokee --enable-static-module=all && \ - make LDFLAGS="-all-static" && make install && \ - echo "
Built from $(git rev-parse --short HEAD) on $(date)
" > ./version.txt && \ + #libtoolize --force && \ + #./autogen.sh --prefix=/usr/local/share/cherokee && \ + #./configure CFLAGS="-static" --prefix=/usr/local/share/cherokee --enable-static-module=all && \ + #make LDFLAGS="-all-static" && make install && \ + #echo "Built from $(git rev-parse --short HEAD) on $(date)
" > ./version.txt && \ apk del --no-cache \ alpine-sdk \ autoconf \ @@ -39,7 +39,7 @@ RUN git clone https://github.com/cherokee/webserver.git . && \ mariadb-dev \ libtool && \ mkdir -p /buildroot && \ - cp -Rf "/usr/local/" "/buildroot/" + cp -Rf "/usr/local/." "/buildroot/" && \ rm -Rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/src/* FROM casjaysdevdocker/php:latest AS source