Dockerfile 640 B

12345678910111213141516
  1. FROM docker.shemic.com/java/base:latest
  2. MAINTAINER Rabin "https://github.com/shemic"
  3. ENV THRIFT_HOME=/usr/local/thrift \
  4. THRIFT_VERSION=0.10.0
  5. ENV PATH=$PATH:$THRIFT_HOME/bin
  6. RUN apk add --no-cache --update automake bison g++ git libevent-dev libressl-dev libtool make pkgconf php7-dev && \
  7. curl -O ${MIRRORS}apache/thrift/$THRIFT_VERSION/thrift-$THRIFT_VERSION.tar.gz && \
  8. tar -zxvf thrift-$THRIFT_VERSION.tar.gz && \
  9. cd thrift-$THRIFT_VERSION && \
  10. ./configure --prefix=$THRIFT_HOME && make && make install && \
  11. cd .. && \
  12. rm -rf thrift-$THRIFT_VERSION* && \
  13. apk del automake bison g++ git libevent-dev libressl-dev libtool make