Genki Takiuchi
null+****@clear*****
Sun Jan 22 01:13:33 JST 2017
Genki Takiuchi 2017-01-22 01:13:33 +0900 (Sun, 22 Jan 2017) New Revision: 0ef77d376baa92d311d739896123bae8ceac8ce2 https://github.com/groonga/docker/commit/0ef77d376baa92d311d739896123bae8ceac8ce2 Message: Added dockerfile Added files: Dockerfile Added: Dockerfile (+23 -0) 100644 =================================================================== --- /dev/null +++ Dockerfile 2017-01-22 01:13:33 +0900 (bbe004e) @@ -0,0 +1,23 @@ +FROM alpine:edge + +RUN apk --no-cache add make g++ musl-dev curl \ + jemalloc zeromq libevent msgpack-c-dev ca-certificates && \ + update-ca-certificates + +WORKDIR /usr/local/src + +ENV CFLAGS -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security +ENV LDFLAGS -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now +ENV CPPFLAGS -Wdate-time -D_FORTIFY_SOURCE=2 +ENV CXXFLAGS -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security +ENV VERSION 6.1.4 + +RUN curl -Lo groonga.tar.gz \ + http://packages.groonga.org/source/groonga/groonga-$VERSION.tar.gz && \ + tar xzf groonga.tar.gz && cd groonga-$VERSION && \ + ./configure --prefix=/usr \ + --disable-maintainer-mode --disable-dependency-tracking \ + --disable-groonga-httpd && \ + make && make install && make clean && cd .. && rm -rf groonga* + +ENTRYPOINT ["groonga"] -------------- next part -------------- HTML����������������������������...Download