-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
41 lines (31 loc) · 1.13 KB
/
Dockerfile.dev
File metadata and controls
41 lines (31 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
ARG CMONGO_VERSION=1.0b-12
ARG CERVER_VERSION=2.0b-36
ARG BUILD_DEPS='ca-certificates libssl-dev libcurl4-openssl-dev gdb'
FROM ermiry/mongoc:builder
ARG BUILD_DEPS
RUN apt-get update && apt-get install -y ${BUILD_DEPS}
# cmongo
ARG CMONGO_VERSION
RUN mkdir /opt/cmongo && cd /opt/cmongo \
&& wget -q --no-check-certificate https://github.com/ermiry-com/cmongo/archive/${CMONGO_VERSION}.zip \
&& unzip ${CMONGO_VERSION}.zip \
&& cd cmongo-${CMONGO_VERSION} \
&& make -j4 && make install
# cerver
ARG CERVER_VERSION
RUN mkdir /opt/cerver && cd /opt/cerver \
&& wget -q https://github.com/ermiry/cerver/archive/${CERVER_VERSION}.zip \
&& unzip ${CERVER_VERSION}.zip \
&& cd cerver-${CERVER_VERSION} \
&& make -j4 && make install
# osiris mini version
ARG OSIRIS_VERSION=0.1
RUN mkdir /opt/osiris-mini && cd /opt/osiris-mini \
&& wget -q https://github.com/ermiry/osiris-mini/archive/${OSIRIS_VERSION}.zip \
&& unzip ${OSIRIS_VERSION}.zip \
&& cd osiris-mini-${OSIRIS_VERSION} \
&& make DEVELOPMENT='' -j4 && make DEVELOPMENT='' install
RUN ldconfig
# jeeves
WORKDIR /home/jeeves
CMD ["/bin/bash"]