Giter Site home page Giter Site logo

Как насчет Docker image? about nginx-quic HOT 4 OPEN

vkcom avatar vkcom commented on July 28, 2024 4
Как насчет Docker image?

from nginx-quic.

Comments (4)

lindevel avatar lindevel commented on July 28, 2024 6

Смешно, типичный немощный контингент всяких ИТ мероприятий, которые в большинстве своем созданы для стрижки денег с лохов
Вам в REAMDE легчайшая установка расписана, просто откройте глаза, если вам непонятна эта инструкция, то ждите релиза пакета как обычные пользователи.
Это экспериментальная ветка nginx для разработчиков, сисадминов, просто опытных пользователей-тестеров и т.д, но никак не для тех, кто не может даже элементарно скопировать команды клонирования репозитория и запуска сборки
Ох уж эти тренды GitHub, зря меня сюда такого нетолерантного закинули

from nginx-quic.

G1K avatar G1K commented on July 28, 2024

Например вот такой. тут уже quiche
https://github.com/RanadeepPolavarapu/docker-nginx-http3

from nginx-quic.

drygdryg avatar drygdryg commented on July 28, 2024

Я написал PKGBUILD для Arch Linux, можно установить из AUR: https://aur.archlinux.org/packages/nginx-quic-vkontakte/

from nginx-quic.

iamrossalex avatar iamrossalex commented on July 28, 2024

Хотел попробовать ваш nginx после доклада и понял что установка не будет такой легкой. Не хотите собирать образы в Docker?

Да легко собирается в Docker.

FROM alpine

RUN cd /root && apk update && apk upgrade && \
	apk add linux-headers curl wget gcc g++ libunwind-dev go make cmake libxml2-dev libxslt-dev perl git perl-dev pcre-dev zlib-dev libgd libaio openssl-dev libmcrypt-dev freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev && \
	wget https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.gz && \
	tar zxf pcre2-10.39.tar.gz && \
	cd /root/pcre2-10.39 && ./configure && make && make install && cd /root && \
	git clone https://boringssl.googlesource.com/boringssl && \
	cd /root/boringssl/ && cmake . && make && cd /root && \
	git clone https://github.com/libgd/libgd.git && \
	cd /root/libgd/ && cmake . && make && make install && cd /root && \
	git clone https://github.com/google/ngx_brotli.git && \
	cd /root/ngx_brotli && git submodule update --init && cd /root && \
	git clone https://github.com/VKCOM/nginx-quic.git && \
	cd /root/nginx-quic && \
	auto/configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_perl_module=dynamic --with-threads --with-stream --with-stream_ssl_module --with-http_slice_module --with-mail --with-mail_ssl_module --with-file-aio --with-http_v2_module --with-cc-opt='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -DTCP_FASTOPEN=23' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed' --with-debug --with-http_v3_module --with-http_quic_module --with-stream_quic_module --with-cc-opt="-I../boringssl/include" --with-ld-opt="-L../boringssl/ssl -L../boringssl/crypto" --add-module=/root/ngx_brotli && \
	make && \
	make install && \
	adduser -DHs /bin/false nginx && \
	mkdir -p /var/cache/nginx/client_temp
	
EXPOSE 80
EXPOSE 443

CMD ["/usr/sbin/nginx", "-g", "daemon off;"]

# docker build -t vkcom-nginx-quic -f ./nginx.dockerfile .

from nginx-quic.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.