Last active
August 29, 2015 14:07
-
-
Save brainstorm/61a6a3947d8310e40448 to your computer and use it in GitHub Desktop.
Baton Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:12.04 | |
ENV PGVERSION 9.3 | |
ENV CK_DEFAULT_TIMEOUT 10 | |
ENV IRODS_VAULT /usr/local/var/lib/irods/Vault | |
ENV TRAVIS_BUILD_DIR /tmp | |
RUN apt-cache search autotools | |
RUN apt-get update -qq | |
RUN apt-get install -qq odbc-postgresql unixodbc-dev build-essential libjansson-dev libjansson4 git wget autoconf | |
RUN wget http://downloads.sourceforge.net/project/check/check/0.9.14/check-0.9.14.tar.gz -O /tmp/check-0.9.14.tar.gz | |
RUN tar xfz /tmp/check-0.9.14.tar.gz -C /tmp | |
WORKDIR /tmp/check-0.9.14 | |
RUN autoreconf -fi ; ./configure ; make ; make install | |
WORKDIR $TRAVIS_BUILD_DIR | |
RUN wget --no-check-certificate https://github.com/wtsi-npg/irods-legacy/releases/download/3.3.1-travis-463f13/irods.tar.gz -O /tmp/irods.tar.gz | |
WORKDIR $TRAVIS_BUILD_DIR | |
RUN cd $TRAVIS_BUILD_DIR && tar xfz irods.tar.gz | |
RUN /bin/bash -c "source $TRAVIS_BUILD_DIR/travis_linux_env.sh" | |
RUN export PATH=$PATH:$IRODS_HOME/clients/icommands/bin | |
RUN mkdir -p $IRODS_VAULT | |
RUN chown $USER:$USER $IRODS_VAULT | |
#USER postgres | |
#RUN $TRAVIS_BUILD_DIR/setup_pgusers.sh | |
#RUN $TRAVIS_BUILD_DIR/irodscontrol psetup | |
#USER root | |
#RUN $TRAVIS_BUILD_DIR/irodscontrol istart ; sleep 10 | |
#RUN echo irods | script -q -c "iinit" > /dev/null | |
#RUN ienv | |
RUN autoreconf -fi | |
RUN ./configure | |
RUN make check | |
#RUN $TRAVIS_BUILD_DIR/irodscontrol istop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment