2015-01-24 02:35:29 +08:00
|
|
|
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 \
|
2015-06-17 23:38:50 +08:00
|
|
|
TRAVIS_OS_NAME=linux TRAVIS_REPO_SLUG=oh-my-fish/oh-my-fish TRAVIS_BRANCH=master
|
2015-01-24 02:35:29 +08:00
|
|
|
|
|
|
|
# Cache script folder
|
|
|
|
ADD script /src/script
|
|
|
|
|
2015-01-24 05:25:36 +08:00
|
|
|
# Install fish and oh-my-fish
|
|
|
|
RUN /src/script/bootstrap.sh
|
2015-01-24 02:35:29 +08:00
|
|
|
|
2015-01-24 05:25:36 +08:00
|
|
|
WORKDIR /root/.oh-my-fish
|
2015-01-24 02:35:29 +08:00
|
|
|
|
|
|
|
CMD ["fish", "./script/run-tests.fish", "--verbose"]
|