Skip to content

Instantly share code, notes, and snippets.

@jon4syth
Created November 25, 2020 20:38
Show Gist options
  • Save jon4syth/42151ab9d2b6dd4012463e74bc9f0e0c to your computer and use it in GitHub Desktop.
Save jon4syth/42151ab9d2b6dd4012463e74bc9f0e0c to your computer and use it in GitHub Desktop.
h2load and other installs
FROM centos:centos7
RUN yum install gcc make -y #&& \
RUN echo "hello"
RUN curl -L -o nghttp2-1.42.0.tar.xz https://github.com/nghttp2/nghttp2/releases/download/v1.42.0/nghttp2-1.42.0.tar.xz
RUN tar -xf nghttp2-1.42.0.tar.xz
RUN yum install cython python3 python-setuptools -y
RUN cd nghttp2-1.42.0 && \
./configure --enable-app PYTHON=/usr/bin/python3.6 PYTHON_VERSION=3.6 LDFLAGS=/usr/lib64/python3.6 && \
make && make install
CMD /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment