mirror of https://github.com/rusefi/hellen-one.git
added submodule init to docker build process
(cherry picked from commit 34e2737be4e7f45af29cf2f44176e7e74c91d490)
This commit is contained in:
parent
6a4f77af87
commit
e6087c9a53
|
@ -3,11 +3,13 @@ FROM python:3.8
|
|||
# needed by xvfb
|
||||
ENV DISPLAY :99
|
||||
|
||||
RUN mkdir /hellen-one
|
||||
WORKDIR /hellen-one
|
||||
|
||||
# Copy all files
|
||||
COPY . /hellen-one
|
||||
COPY . ./
|
||||
|
||||
# Make sure submodules are present and up-to-date
|
||||
RUN git submodule update --init
|
||||
|
||||
# Install all system dependencies
|
||||
RUN apt-get update && apt-get install -y python3-dev gcc g++ libc-dev libffi-dev libcairo2-dev libjpeg-dev zlib1g-dev xvfb libx11-dev
|
||||
|
@ -15,8 +17,5 @@ RUN apt-get update && apt-get install -y python3-dev gcc g++ libc-dev libffi-dev
|
|||
# Install all python dependencies
|
||||
RUN pip install --no-cache-dir -r bin/requirements.txt
|
||||
|
||||
# Make it executable
|
||||
RUN chmod a+x run_tests.sh
|
||||
|
||||
# Run!
|
||||
CMD [ "/bin/bash", "run_tests.sh" ]
|
||||
|
|
Loading…
Reference in New Issue