forked from kangwonlee/cpp-test-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (14 loc) · 672 Bytes
/
Copy pathDockerfile
File metadata and controls
22 lines (14 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# begin Dockerfile
FROM ghcr.io/kwlee2025cpp/edu-base-cpp:a267f31
WORKDIR /tests/
RUN mkdir -p /tests/
COPY tests/* /tests/
# To install additional modules for this particular assignment,
# please uncomment the following lines after adding them to requirements.txt
# COPY ./requirements.txt /app/requirements.txt
# RUN uv pip install --system --requirement /app/requirements.txt \
# && rm /app/requirements.txt
RUN python3 -c "import pytest; import requests; import glob; files = glob.glob('/tests/test_*.py'); print('Found', len(files), 'files:', files); assert files, 'No files in /tests/!'" \
&& clang-format --version
WORKDIR /app/
# end Dockerfile