Compare commits
2 Commits
6354a96024
...
c2219d60b9
Author | SHA1 | Date | |
---|---|---|---|
c2219d60b9 | |||
64c312bb75 |
@ -7,9 +7,9 @@ RUN apk update && apk upgrade && \
|
|||||||
|
|
||||||
# Download and build the latest version of Nginx from source
|
# Download and build the latest version of Nginx from source
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN wget https://nginx.org/download/nginx-1.25.2.tar.gz
|
RUN wget https://nginx.org/download/nginx-1.25.3.tar.gz
|
||||||
RUN tar -xzvf nginx-1.25.2.tar.gz
|
RUN tar -xzvf nginx-1.25.3.tar.gz
|
||||||
WORKDIR /tmp/nginx-1.25.2
|
WORKDIR /tmp/nginx-1.25.3
|
||||||
RUN ./configure --prefix=/usr/local/nginx --sbin-path=/usr/local/sbin/nginx --conf-path=/etc/nginx/nginx.conf
|
RUN ./configure --prefix=/usr/local/nginx --sbin-path=/usr/local/sbin/nginx --conf-path=/etc/nginx/nginx.conf
|
||||||
RUN make
|
RUN make
|
||||||
RUN make install
|
RUN make install
|
||||||
|
Reference in New Issue
Block a user