Files
IoT-Systems/MapView/Dockerfile-test
hasslesstech b171f42fa6
All checks were successful
Component testing / Hub testing (push) Successful in 21s
Component testing / Store testing (push) Successful in 41s
Component testing / MapView testing (push) Successful in 16s
Component testing / Integration smoke testing (push) Successful in 2m13s
[P] Integrate MapView testing into CI pipeline
2026-03-31 12:55:30 +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"]