Files
IoT-Systems/MapView/Dockerfile-test
hasslesstech 8fddabfbe8
Some checks failed
Component testing / Hub testing (push) Successful in 20s
Component testing / Store testing (push) Successful in 32s
Component testing / Integration smoke testing (push) Has been cancelled
Component testing / MapView testing (push) Has been cancelled
[P] Integrate MapView testing into CI pipeline
2026-03-31 12:37:36 +03:00

15 lines
486 B
Plaintext

# Use the official Python image as the base image
FROM python:latest
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file and install dependencies
COPY MapView/requirements.txt .
RUN sed -i 's/==.*//' requirements.txt
RUN apt update && apt install -y libgl-dev libsdl1.2-dev
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --root-user-action ignore --no-cache-dir python-unittest kivy[base] pygame
CMD ["./test-entry.sh"]