test: Add Docker container for testing [skip ci]

This commit is contained in:
peaceiris
2020-01-18 01:10:02 +09:00
parent dc9576430f
commit 7496c44053
3 changed files with 40 additions and 0 deletions

11
__tests__/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:12-slim
WORKDIR /repo
RUN apt-get update && \
apt-get -y install --no-install-recommends \
git \
bash && \
rm -rf /var/lib/apt/lists/*
CMD [ "bash" ]