init
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
archive/*
|
||||||
|
*.tar.gz
|
||||||
30
Dockerfile
Normal file
30
Dockerfile
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
ARG IMAGE_BASE_TAG=buster-slim
|
||||||
|
|
||||||
|
FROM debian:${IMAGE_BASE_TAG}
|
||||||
|
|
||||||
|
ARG RESTY_VERSION="1.19.3.1"
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get -y upgrade \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Install all required packages
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get -y install \
|
||||||
|
wget \
|
||||||
|
curl \
|
||||||
|
unzip \
|
||||||
|
gzip \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
||||||
|
WORKDIR /tmp
|
||||||
|
# Get the openresty /nginx source
|
||||||
|
RUN cd /tmp
|
||||||
|
#RUN curl -fSL https://openresty.org/download/openresty-${RESTY_VERSION}.tar.gz -o openresty.tar.gz \
|
||||||
|
# && tar xvf openresty.tar.gz
|
||||||
|
|
||||||
|
RUN wget https://openresty.org/download/openresty-1.19.3.1.tar.gz -O openresty.tar.gz \
|
||||||
|
&& tar xvf openresty.tar.gz && mv openresty-1.19.3.1 openresty
|
||||||
|
RUN ls
|
||||||
|
RUN wget https://github.com/kvspb/nginx-auth-ldap/archive/refs/heads/master.zip && unzip -o master.zip && rm master.zip
|
||||||
|
RUN cd openresty && ./configure
|
||||||
Reference in New Issue
Block a user