1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-15 17:51:06 +00:00
dragonflydb-dragonfly/tests/integration/ioredis.Dockerfile
Boaz Sade 214c10f165
fix(server): reject eval inside transaction multi blocks #457 (#471)
fix(server): block running lua script inside pipeline #457

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-11-09 19:18:28 +02:00

28 lines
816 B
Docker

# syntax=docker/dockerfile:1
FROM node:18.7.0
ENV NODE_ENV=development
ENV RUN_IN_DOCKER=1
WORKDIR /app
# Git
RUN apt update -y && apt install -y git
# The latest version from io-redis contain changes that we need to have
# to successfully run the tests
RUN git clone https://github.com/luin/ioredis
WORKDIR /app/ioredis
RUN npm install
# Script to run the tests that curretly pass successfully.
# Note that in DF we still don't have support for cluster and we
# want to skip tests such as elasticache, also we have some issues that
# need to be resolved such as
# https://github.com/dragonflydb/dragonfly/issues/457
# and https://github.com/dragonflydb/dragonfly/issues/458
ADD .run_ioredis_valid_test.sh run_tests.sh
ENTRYPOINT [ "npm", "run", "env", "--", "TS_NODE_TRANSPILE_ONLY=true", "NODE_ENV=test" ]