Add build deps for psutil
This commit is contained in:
+6
-2
@@ -10,7 +10,11 @@ ENV PYTHONUNBUFFERED=1 \
|
||||
RUN --mount=type=cache,target=/var/cache/apk,sharing=locked \
|
||||
apk add --no-cache \
|
||||
docker-cli \
|
||||
ca-certificates
|
||||
ca-certificates \
|
||||
gcc \
|
||||
musl-dev \
|
||||
linux-headers \
|
||||
python3-dev
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -21,7 +25,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
|
||||
COPY collectors/ ./collectors/
|
||||
COPY exporters/ ./exporters/
|
||||
COPY aggregator.py main.py ./
|
||||
COPY aggregator.py main.py utils.py ./
|
||||
|
||||
HEALTHCHECK --interval=60s --timeout=10s --start-period=10s --retries=3 \
|
||||
CMD python -c "import sys; sys.exit(0)"
|
||||
|
||||
Reference in New Issue
Block a user