Skip to content

Commit

Permalink
chore: update Igneous Dockerfile to py312
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Feb 22, 2025
1 parent 526e771 commit 2e34782
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.12-slim
LABEL maintainer="William Silversmith, Nico Kemnitz"

ADD ./ /igneous
Expand All @@ -11,9 +11,6 @@ RUN apt-get update \
nano \
# igneous + runtime dependencies
&& cd igneous \
# numpy 1.23.0 through 1.23.2 causing issues
# with locating random module
&& pip install --no-cache-dir 'numpy<1.23.0' \
&& pip install --no-cache-dir -r requirements.txt mysql-connector-python \
&& pip install --no-cache-dir -e . \
\
Expand All @@ -25,7 +22,7 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
# Cleanup temporary python files
&& find /usr/local/lib/python3.9 -depth \
&& find /usr/local/lib/python3.12 -depth \
\( \
\( -type d -a \( -name __pycache__ \) \) \
-o \
Expand Down

0 comments on commit 2e34782

Please sign in to comment.