Sign inSign up

hassanmohsin/rdkit-ubuntu

By hassanmohsin

•Updated over 6 years ago

Ubuntu (18.04) docker with rdkit installed.

Image
0

446

hassanmohsin/rdkit-ubuntu repository overview

Dockerfile: latest

FROM ubuntu:bionic
# Does a build of the RDKit Python wrappers and runs the tests
# Mainly intended as a demo of what's required to do so
MAINTAINER Md Mahmudulla Hassan <[email protected]>

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y && apt install -y \
  curl \
  wget \
  libboost-all-dev \
  cmake \
  git \
  g++ \
  libeigen3-dev \
  python3 \
  libpython3-all-dev \
  python3-numpy \
  python3-pip \
  python3-pil \
  python3-pandas


ENV LANG C

RUN mkdir /src
WORKDIR /src
ENV RDBASE=/src/rdkit
ARG RDKIT_BRANCH
RUN git clone https://github.com/rdkit/rdkit.git
WORKDIR $RDBASE
RUN git checkout $RDKIT_BRANCH

ENV PYTHONPATH=$RDBASE
ENV LD_LIBRARY_PATH=$RDBASE/lib
WORKDIR $RDBASE
RUN mkdir build
WORKDIR build
RUN cmake -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
RUN make -j28 .. install
RUN ctest -j28

Tag summary

Content type

Image

Digest

Size

695.1 MB

Last updated

over 6 years ago

docker pull hassanmohsin/rdkit-ubuntu