mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-29 03:59:48 +08:00
adding a dockerfile
This commit is contained in:
parent
c004cb57e4
commit
550a4b4afb
20
Dockerfile
Normal file
20
Dockerfile
Normal 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"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user