21 lines
380 B
Docker
21 lines
380 B
Docker
FROM archlinux:latest
|
|
EXPOSE 8080
|
|
|
|
RUN pacman -Syyu --noconfirm
|
|
RUN pacman -S base-devel glibc gcc-libs --noconfirm
|
|
COPY nginx /nginx
|
|
WORKDIR /nginx
|
|
RUN auto/configure \
|
|
--with-debug \
|
|
--with-http_ssl_module \
|
|
--with-cc-opt=-pg
|
|
RUN make
|
|
RUN make install
|
|
COPY nginx.conf /
|
|
|
|
COPY dhparam.pem /
|
|
COPY www.example.com.crt /
|
|
COPY www.example.com.key /
|
|
COPY run.sh /
|
|
|
|
CMD ["/run.sh"]
|