Skip to content

Commit f497f81

Browse files
author
Aviv Laufer
committed
Docker file for testing
1 parent d8de366 commit f497f81

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dokerfile.test

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Get python version
2+
FROM python:3.11-slim
3+
RUN apt-get update \
4+
&& apt-get install -y wget
5+
6+
RUN mkdir pl
7+
WORKDIR pl
8+
ADD . $WORKDIR
9+
RUN pip install --upgrade pip
10+
RUN pip install -r requirements-test.txt
11+
RUN wget https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha1/protoconf_0.2.0-alpha1_linux_amd64.tar.gz
12+
RUN tar xvzf protoconf_0.2.0-alpha1_linux_amd64.tar.gz
13+
RUN cp protoconf /usr/local/bin
14+
CMD ["./run_tests.sh"]

0 commit comments

Comments
 (0)