From 5e0ce5d792a87e04a2e335c4466b0fb8b278a921 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 6 Jul 2022 23:23:31 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20=20modified:=20Dockerfi?= =?UTF-8?q?le=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e9d308..5fcd10e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM casjaysdev/alpine:latest as build +FROM alpine:3.14 AS build WORKDIR /tmp/build @@ -13,14 +13,14 @@ RUN apk -U upgrade && \ openssl \ openssl-dev \ linux-headers \ - python3 \ + python2 \ rrdtool RUN git clone https://github.com/cherokee/webserver.git . && \ libtoolize --force && \ ./autogen.sh --prefix=/usr/local/share/cherokee && \ - ./configure --prefix=/usr/local/share/cherokee && \ - make && make install && \ + ./configure CFLAGS="-static" --prefix=/usr/local/share/cherokee && \ + make LDFLAGS="-all-static" && make install && \ echo "

Built from $(git rev-parse --short HEAD) on $(date)

" > ./version.txt && \ apk del \ alpine-sdk \