Add build-essential for Triton compilation
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -8,9 +8,9 @@ LABEL org.opencontainers.image.title="OpenGrid"
|
|
| 8 |
LABEL org.opencontainers.image.description="Renewable energy grid load-balancing environment"
|
| 9 |
LABEL openenv="true"
|
| 10 |
|
| 11 |
-
# Install Python 3.10
|
| 12 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 13 |
-
python3.10 python3-pip python3.10-venv && \
|
| 14 |
ln -sf /usr/bin/python3.10 /usr/bin/python && \
|
| 15 |
ln -sf /usr/bin/pip3 /usr/bin/pip && \
|
| 16 |
rm -rf /var/lib/apt/lists/*
|
|
|
|
| 8 |
LABEL org.opencontainers.image.description="Renewable energy grid load-balancing environment"
|
| 9 |
LABEL openenv="true"
|
| 10 |
|
| 11 |
+
# Install Python 3.10 and build tools (needed by Triton/Unsloth)
|
| 12 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 13 |
+
python3.10 python3-pip python3.10-venv build-essential && \
|
| 14 |
ln -sf /usr/bin/python3.10 /usr/bin/python && \
|
| 15 |
ln -sf /usr/bin/pip3 /usr/bin/pip && \
|
| 16 |
rm -rf /var/lib/apt/lists/*
|