Skip to content

Commit 8c268c2

Browse files
authored
Merge pull request #128 from toniher/devtools-fix
Devtools fix for Docker build problem
2 parents fc8cf74 + 93d95f2 commit 8c268c2

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

Dockerfile

+14-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM rocker/r-ver:3.6.3
1+
FROM rocker/tidyverse:3.6.3
22

3-
# File Author / Maintainer
4-
MAINTAINER Toni Hermoso Pulido <[email protected]>
3+
LABEL maintainer="Toni Hermoso Pulido <[email protected]>"
54

65
ARG BOWTIE_VERSION=1.2.1.1
6+
ARG GETOPT_VERSION=1.20.3
7+
ARG OPTPARSE_VERSION=1.7.3
78
ARG PSIPLOT_VERSION=2.3.0
89

910
# Install external dependencies
10-
RUN apt-get update -qq && apt-get upgrade -y && apt-get install -y --no-install-recommends python curl libcurl4-openssl-dev libssl-dev libsqlite3-dev libxml2-dev qpdf git
11+
RUN apt-get update --allow-releaseinfo-change && apt-get upgrade -y && apt-get install -y --no-install-recommends python curl libcurl4-openssl-dev libssl-dev libsqlite3-dev libxml2-dev qpdf git
1112
RUN apt-get install -y build-essential libharfbuzz-dev libfontconfig1-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libfribidi-dev
1213

1314
# Install bowtie
@@ -19,14 +20,18 @@ RUN cd /usr/local; rm bowtie-${BOWTIE_VERSION}-linux-x86_64.zip
1920
# Let's put in PATH
2021
RUN cd /usr/local/bin; ln -s ../bowtie-${BOWTIE_VERSION}/bowtie* .
2122

22-
COPY deps.R /usr/local
23+
# Not used anymore
24+
# COPY deps.R /usr/local
25+
# RUN Rscript /usr/local/deps.R > /tmp/deps.log
2326

24-
RUN Rscript /usr/local/deps.R > /tmp/deps.log
25-
26-
# Psiplot
27+
# Github packages
28+
RUN cd /usr/local/; curl --fail --silent --show-error --location --remote-name https://github.com/trevorld/r-getopt/archive/v${GETOPT_VERSION}.tar.gz
29+
RUN cd /usr/local/; curl --fail --silent --show-error --location --remote-name https://github.com/trevorld/r-optparse/archive/v${OPTPARSE_VERSION}.tar.gz
2730
RUN cd /usr/local/; curl --fail --silent --show-error --location --remote-name https://github.com/kcha/psiplot/archive/v${PSIPLOT_VERSION}.tar.gz
31+
RUN Rscript -e "install.packages( \"/usr/local/v${GETOPT_VERSION}.tar.gz\", repos = NULL )"
32+
RUN Rscript -e "install.packages( \"/usr/local/v${OPTPARSE_VERSION}.tar.gz\", repos = NULL )"
2833
RUN Rscript -e "install.packages( \"/usr/local/v${PSIPLOT_VERSION}.tar.gz\", repos = NULL )"
29-
RUN rm /usr/local/v${PSIPLOT_VERSION}.tar.gz
34+
RUN rm /usr/local/v${PSIPLOT_VERSION}.tar.gz; rm /usr/local/v${OPTPARSE_VERSION}.tar.gz; rm /usr/local/v${GETOPT_VERSION}.tar.gz
3035

3136
# Install Vast-tools
3237
RUN mkdir -p /usr/local/vast-tools

deps.R

-12
This file was deleted.

0 commit comments

Comments
 (0)