Skip to content

Commit

Permalink
update docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-p committed Aug 22, 2016
1 parent 51ad859 commit 07ae540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MAINTAINER salmon.maintainer@gmail.com

ENV PACKAGES git gcc make g++ cmake libboost-all-dev liblzma-dev libbz2-dev \
ca-certificates zlib1g-dev curl unzip autoconf
ENV SALMON_VERSION v0.7.0
ENV SALMON_VERSION 0.7.0

# salmon binary will be installed in /home/salmon/bin/salmon

Expand All @@ -18,11 +18,11 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean

RUN curl -k -L https://github.com/COMBINE-lab/salmon/archive/v0.7.0.tar.gz -o salmon-v0.7.0.tar.gz && \
tar xzf salmon-v0.7.0.tar.gz && \
cd salmon-0.7.0 && \
RUN curl -k -L https://github.com/COMBINE-lab/salmon/archive/v${SALMON_VERSION}.tar.gz -o salmon-v${SALMON_VERSION}.tar.gz && \
tar xzf salmon-v${SALMON_VERSION}.tar.gz && \
cd salmon-${SALMON_VERSION} && \
mkdir build && \
cd build && \
cmake .. && make && make install

ENV PATH /home/salmon-0.7.0/bin:${PATH}
ENV PATH /home/salmon-${SALMON_VERSION}/bin:${PATH}
2 changes: 1 addition & 1 deletion docker/build_test.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#! /bin/bash
docker build -t combinelab/salmon:0.7.1-pre .
docker build -t combinelab/salmon:0.7.1 .

0 comments on commit 07ae540

Please sign in to comment.