Last active
July 5, 2016 12:13
-
-
Save unasuke/01d78fdd67658de22c2b91e00ba5e0d6 to your computer and use it in GitHub Desktop.
h2o-alpine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
RUN apk add --no-cache --virtual=builddeps \ | |
bison \ | |
ca-certificates \ | |
cmake \ | |
curl \ | |
gcc \ | |
g++ \ | |
libc-dev \ | |
linux-headers \ | |
make \ | |
openssl \ | |
perl \ | |
ruby \ | |
ruby-dev \ | |
wget \ | |
zlib-dev \ | |
&& wget -O - https://github.com/h2o/h2o/archive/v2.0.1.tar.gz | tar xz \ | |
&& cd h2o-* \ | |
&& cmake -DWITH_BUNDLED_SSL=on -DWITH_MRUBY=on . \ | |
&& make install \ | |
&& cd .. \ | |
&& rm -rf h2o-* \ | |
&& apk del builddeps | |
RUN mkdir /etc/h2o | |
WORKDIR /etc/h2o | |
EXPOSE 80 443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment