Merge pull request #342 from bpinto/dockerize

adding a dockerfile
This commit is contained in:
Bruno 2015-01-23 17:31:12 -02:00
commit 5fd44ffd7b

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM ubuntu:latest
# Install dependencies
RUN apt-get -y install curl git software-properties-common
# Set bootstrap script environment variables
ENV FISH_PPA=nightly-master \
TRAVIS_OS_NAME=linux TRAVIS_REPO_SLUG=bpinto/oh-my-fish TRAVIS_BRANCH=master
# Cache script folder
ADD script /src/script
WORKDIR /src
# Install fish
RUN ./script/bootstrap.sh
ADD . /src
CMD ["fish", "./script/run-tests.fish", "--verbose"]