Files
hsmod_original/Dockerfile
T
2024-04-15 15:50:41 +02:00

25 lines
1.2 KiB
Docker

# os
FROM ubuntu:16.04
WORKDIR /app
RUN apt-get -y update && apt-get install -y git vim libev-dev tar wget libevent-dev build-essential libnet-ifconfig-wrapper-perl cmake qt5-default qt5-qmake python-pip libjson-c-dev curl valgrind zlib1g-dev python-webpy python-flup libssl-dev runit spawn-fcgi npm node-gyp nodejs libpcre3-dev
# couchbase
RUN wget http://packages.couchbase.com/releases/4.5.0/couchbase-server-enterprise_4.5.0-ubuntu14.04_amd64.deb
RUN dpkg -i couchbase-server-enterprise_4.5.0-ubuntu14.04_amd64.deb
RUN git clone https://github.com/couchbase/libcouchbase.git
RUN cd libcouchbase && git checkout 2.9.0 && cmake . && make && make install && ldconfig
# RUN wget http://packages.couchbase.com/clients/c/libcouchbase-2.5.8_ubuntu1404_amd64.tar && tar xvf *.tar && cd libcouchbase-2.5.8_ubuntu1404_amd64/ && dpkg -i *.deb
RUN pip install couchbase==2.2.4
# cleanup
RUN rm -rf /app/couchbase-server-enterprise_4.5.0-ubuntu14.04_amd64.deb
# ENTRYPOINT ["/opt/couchbase/bin/couchbase-server -- -kernel global_enable_tracing false -noinput"]
# Add the custom entrypoint script
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]