mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 04:37:54 +08:00
19 lines
448 B
Docker
19 lines
448 B
Docker
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=oh-my-fish/oh-my-fish TRAVIS_BRANCH=master
|
|
|
|
# Cache script folder
|
|
ADD script /src/script
|
|
|
|
# Install fish and oh-my-fish
|
|
RUN /src/script/bootstrap.sh
|
|
|
|
WORKDIR /root/.oh-my-fish
|
|
|
|
CMD ["fish", "./script/run-tests.fish", "--verbose"]
|