2
0
mirror of https://github.com/kazhala/dotbare synced 2024-11-02 09:40:27 +00:00

test(docker): test container now source bash plugin

This commit is contained in:
kevin zhuang 2020-06-07 14:56:59 +10:00
parent b586a2b6a7
commit a944303a1a

View File

@ -2,7 +2,7 @@ FROM bats/bats:latest
RUN apk add --no-cache git
RUN apk add --no-cache fzf
ADD ./ /root/dotbare
RUN echo "PATH=$PATH:$HOME/dotbare" >> "$HOME"/.bashrc
RUN echo "source /root/dotbare/dotbare.plugin.bash" >> "$HOME"/.bashrc
WORKDIR /root/dotbare
ARG MIGRATE='url'
RUN [ "$MIGRATE" = 'url' ] && ./dotbare finit -u https://github.com/kazhala/dotfiles.git || :