From 550a4b4afb85b4eabb373cc3a67f1b53f89bd5bc Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Fri, 23 Jan 2015 16:35:29 -0200 Subject: [PATCH] adding a dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..26ae55b --- /dev/null +++ b/Dockerfile @@ -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"] +