mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
18 lines
667 B
Text
18 lines
667 B
Text
|
# syntax=docker/dockerfile:1
|
||
|
|
||
|
FROM maven:3.8.6-jdk-11
|
||
|
ENV NODE_ENV=development
|
||
|
|
||
|
WORKDIR /app
|
||
|
# Clone jedis dragonfly fork
|
||
|
RUN git clone -b dragonfly https://github.com/dragonflydb/jedis.git
|
||
|
|
||
|
WORKDIR /app/jedis
|
||
|
|
||
|
# Build the client and tests
|
||
|
RUN mvn test -DskipTests
|
||
|
|
||
|
# Run selected tests
|
||
|
CMD mvn surefire:test -Dtest="AllKindOfValuesCommandsTest,BitCommandsTest,ControlCommandsTest,ControlCommandsTest,HashesCommandsTest,ListCommandsTest,ScriptingCommandsTest,ScriptingCommandsTest,SetCommandsTest,SetCommandsTest,SetCommandsTest,TransactionCommandsTest,ClientCommandsTest,PublishSubscribeCommandsTest,SortedSetCommandsTest,SortingCommandsTest,StreamsCommandsTest"
|
||
|
|