Skip to content

Instantly share code, notes, and snippets.

@cschin
Created March 3, 2018 15:19
Show Gist options
  • Save cschin/15fe40e88ec8afc6dd98f269bc877517 to your computer and use it in GitHub Desktop.
Save cschin/15fe40e88ec8afc6dd98f269bc877517 to your computer and use it in GitHub Desktop.
```
$ cat Dockerfile
FROM ubuntu
RUN apt-get update -qq && \
apt-get install -qqy tar gzip curl jq && \
apt-get install -qqy python python-pip vim-tiny less git
RUN pip install httpie requests
RUN apt-get install -qqy curl
RUN mkdir /build && cd /build && curl -s https://nim-lang.org/download/nim-0.17.2.tar.xz > nim-0.17.2.tar.xz && \
tar xvf nim-0.17.2.tar.xz && \
cd nim-0.17.2 && \
sh build.sh && \
bin/nim c koch && \
./koch tools
COPY install.sh build/
RUN cd /build && PATH=/build/nim-0.17.2/bin:$PATH && bash install.sh
ENV FALCON_WORKSPACE=/build/FALCON-integrate/
ENV PYTHONUSERBASE=/build/FALCON-integrate/fc_env
ENV FALCON_PREFIX=/build/FALCON-integrate/fc_env
ENV PATH=/build/FALCON-integrate/fc_env/bin:/build/nim-0.17.2/bin:$PATH
RUN pip install --user httpie redis
WORKDIR /tmp
$ cat install.sh
export GIT_SYM_CACHE_DIR=~/.git-sym-cache # to speed things up
git clone git://github.com/PacificBiosciences/FALCON-integrate.git
cd FALCON-integrate
git checkout develop # or whatever version you want
git submodule update --init --recursive # Note: You must do this yourself! No longer via `make init`.
make init
source env.sh
make config-edit-user
make -j 8 all
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment