Commit 10ef1147 authored by Marek Vavruša's avatar Marek Vavruša

tests-extra: use exec-form entrypoint

parent ffa045fb
......@@ -13,15 +13,15 @@ lsof \
gdb; \
pip3 install dnspython3; \
pip3 install psutil; \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
# Prepare the tests
mkdir /tests; \
RUN mkdir /tests; \
# Link the tested executables
mkdir /src; \
ln -sfn /usr/local/sbin/knotd /src/knotd; \
ln -sfn /usr/local/bin/knotc /src/knotc; \
# Trim down the image
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
# Select entrypoint
WORKDIR /tests
ENTRYPOINT "/tests/runtests.py"
ENTRYPOINT ["/tests/runtests.py"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment