Skip to content

Commit

Permalink
build: 👷 clean after Python install (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
odulcy-mindee authored Oct 4, 2023
1 parent 8e54989 commit 50d65d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ RUN wget http://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION
mkdir /opt/python/ && \
./configure --prefix=/opt/python && \
make && \
make install
make install && \
cd .. && \
rm Python-$PYTHON_VERSION.tgz && \
rm -r Python-$PYTHON_VERSION

ENV PATH=/opt/python/bin:$PATH

Expand Down

0 comments on commit 50d65d7

Please sign in to comment.