diff --git a/spec/test/Dockerfile b/spec/test/Dockerfile new file mode 100644 index 0000000..bd8290d --- /dev/null +++ b/spec/test/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.7-alpine + +# Install CircleCI requirements for base images +# https://circleci.com/docs/2.0/custom-images/ +RUN apk upgrade --update-cache \ + && apk add git openssh-server tar gzip ca-certificates + +# Install Kapow! Spec Test Suite +RUN mkdir -p /usr/src/ksts +WORKDIR /usr/src/ksts +COPY features /usr/src/ksts/features +COPY Pipfile Pipfile.lock /usr/src/ksts/ +RUN pip install --upgrade pip \ + && pip install pipenv \ + && pipenv install --deploy --system \ + && rm -f Pipfile Pipfile.lock