Add fish, scripts and git
This commit is contained in:
10
test/Dockerfile
Normal file
10
test/Dockerfile
Normal 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
9
test/run_test
Executable 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
|
||||
Reference in New Issue
Block a user