Add fish, scripts and git

This commit is contained in:
2021-02-14 21:37:08 +01:00
parent d0ad79e63b
commit 7d2921b09e
12 changed files with 295 additions and 0 deletions

10
test/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.8
ENV DEVCONTAINER=1
WORKDIR /workspaces
COPY . /root/dotfiles
RUN /root/dotfiles/install.sh
CMD fish

9
test/run_test Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -e
cd "$(dirname "$0")/.."
docker build . -t dotfiles -f test/Dockerfile --force-rm
docker run --rm -it dotfiles
docker rmi dotfiles