Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ad30cb
commit 9ad9364
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
# vim: set ft=dockerfile: | ||
FROM ubuntu:16.04 | ||
FROM skytreader/alexandria:latest | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y software-properties-common && \ | ||
add-apt-repository ppa:webupd8team/java -y && \ | ||
apt-get update && \ | ||
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ | ||
apt-get install -y libmysqlclient-dev python python-pip xvfb firefox oracle-java8-installer git && \ | ||
apt-get install -y xvfb firefox oracle-java8-installer git && \ | ||
apt-get clean | ||
COPY ./requirements.txt . | ||
COPY ./test-requirements.txt . | ||
RUN pip install -r requirements.txt | ||
RUN pip install -r test-requirements.txt | ||
COPY . ./librarian | ||
WORKDIR ./librarian | ||
ENV ALEXANDRIA_CONFIG='config.DockerConfig' | ||
# This line is specifically for travis-ci builds. | ||
RUN useradd --create-home --shell /bin/bash travis |