Skip to content

Commit fecf23d

Browse files
committed
Refactor the Docker image for running tests
1 parent 13d1b3d commit fecf23d

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

Dockerfile

Lines changed: 0 additions & 8 deletions
This file was deleted.

Dockerfile.tests

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM clfoundation/sbcl:2.1.7
2+
3+
ENV QUICKLISP_ADD_TO_INIT_FILE=true
4+
WORKDIR /root/quicklisp/local-projects/clingon
5+
COPY . .
6+
RUN /usr/local/bin/install-quicklisp
7+
ENTRYPOINT ["./run-tests.sh"]

docker-entrypoint.sh renamed to run-tests.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
/usr/local/bin/install-quicklisp
6-
75
sbcl --eval '(ql:quickload :clingon.test)' \
86
--eval '(setf rove:*enable-colors* nil)' \
97
--eval '(asdf:test-system :clingon.test)' \

0 commit comments

Comments
 (0)