Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
b558eeb8
Commit
b558eeb8
authored
Aug 01, 2019
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Dockerfile
parent
f4276ce2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
0 deletions
+44
-0
README.rst
README.rst
+14
-0
docker/Dockerfile
docker/Dockerfile
+30
-0
No files found.
README.rst
View file @
b558eeb8
...
...
@@ -31,6 +31,20 @@ To run h2load against HTTP/3 server, specify h3-22 ALPN with
$ h2load --npn-list h3-22 https://localhost:4433
You can use Dockerfile to skip the tedious build steps to manually
pull and build dependencies. In order to build Docker image, do this:
.. code-block:: text
$ cd docker
$ docker build -t nghttp2-quic .
Run h2load:
.. code-block:: text
$ docker run --rm -it --network=host nghttp2-quic /usr/local/bin/h2load --npn-list h3-22 https://localhost:4433
Development Status
------------------
...
...
docker/Dockerfile
0 → 100644
View file @
b558eeb8
FROM
k8s.gcr.io/debian-base-amd64:1.0.0
RUN
/usr/local/bin/clean-install git g++ make binutils autoconf automake autotools-dev libtool pkg-config
\
zlib1g-dev libev-dev libjemalloc-dev ruby-dev libc-ares-dev bison
\
zlib1g libev4 libjemalloc1 libc-ares2
\
ca-certificates psmisc
\
python
&&
\
git clone
--depth
1
-b
quic-draft-22 https://github.com/tatsuhiro-t/openssl
&&
\
cd
openssl
&&
./config enable-tls1_3
--openssldir
=
/etc/ssl
&&
make
-j
$(
nproc
)
&&
make install_sw
&&
cd
..
&&
rm
-rf
openssl
&&
\
git clone
--depth
1 https://github.com/ngtcp2/nghttp3
&&
\
cd
nghttp3
&&
autoreconf
-i
&&
\
./configure
--enable-lib-only
&&
\
make
-j
$(
nproc
)
&&
make install-strip
&&
cd
..
&&
rm
-rf
nghttp3
&&
\
git clone
--depth
1
-b
draft-22 https://github.com/ngtcp2/ngtcp2
&&
\
cd
ngtcp2
&&
autoreconf
-i
&&
\
./configure
&&
\
make
-j
$(
nproc
)
&&
make install-strip
&&
cd
..
&&
rm
-rf
ngtcp2
&&
\
git clone
--depth
1
-b
quic https://github.com/nghttp2/nghttp2.git
&&
\
cd
nghttp2
&&
\
git submodule update
--init
&&
autoreconf
-i
&&
\
./configure
--disable-examples
--disable-hpack-tools
--disable-python-bindings
--with-mruby
--with-neverbleed
&&
\
make
-j
$(
nproc
)
install-strip
&&
\
cd
..
&&
\
rm
-rf
nghttp2
&&
\
strip /usr/local/lib/
*
.so.
*
.
*
/usr/local/lib/engines-
*
/
*
.so
&&
\
rm
-rf
/usr/local/lib/libssl.so /usr/local/lib/libcrypto.so /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a /usr/local/lib/pkgconfig/
*
ssl.pc /usr/local/include/openssl/
*
&&
\
apt-get
-y
purge git g++ make binutils autoconf automake autotools-dev libtool pkg-config
\
zlib1g-dev libev-dev libjemalloc-dev ruby-dev libc-ares-dev bison
&&
\
apt-get
-y
autoremove
--purge
&&
\
rm
-rf
/var/log/
*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment