Skip to content

Commit

Permalink
Dockerfile_alpine: fix broken pip six installation (OSGeo#1568)
Browse files Browse the repository at this point in the history
Fixes docker hub error:

```
Step 32/49 : RUN pip3 install --upgrade pip six grass-session
---> Running in 1c63e0d56789
Collecting pip
Downloading pip-21.1.1-py3-none-any.whl (1.5 MB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting grass-session
Downloading grass_session-0.5-py2.py3-none-any.whl (31 kB)
Installing collected packages: pip, six, grass-session
Attempting uninstall: pip
Found existing installation: pip 20.0.2
Uninstalling pip-20.0.2:
Successfully uninstalled pip-20.0.2
Attempting uninstall: six
Found existing installation: six 1.15.0
ERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
```
  • Loading branch information
a0x8o committed Sep 5, 2024
1 parent f74f84f commit 975e253
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2693,6 +2693,7 @@ RUN apk add curl && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && p
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> main
<<<<<<< HEAD:docker/alpine/Dockerfile
Expand Down Expand Up @@ -2722,6 +2723,8 @@ RUN apk add curl && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && p
=======
>>>>>>> 75dcc66eed (Dockerfile_alpine: fix broken pip six installation (#1568))
<<<<<<< HEAD:docker/alpine/Dockerfile
=======
>>>>>>> 75dcc66eed (Dockerfile_alpine: fix broken pip six installation (#1568))
<<<<<<< HEAD:docker/alpine/Dockerfile
RUN pip3 install --upgrade pip six grass-session --ignore-installed six
=======
Expand All @@ -2741,6 +2744,7 @@ RUN pip3 install --upgrade grass-session
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> osgeo-main
Expand Down Expand Up @@ -3072,6 +3076,8 @@ RUN pip3 install --upgrade grass-session
=======
RUN pip3 install --upgrade pip six grass-session --ignore-installed six
>>>>>>> 460748a7fb (g.proj: fix reading input WKT (#1582))
=======
>>>>>>> 75dcc66eed (Dockerfile_alpine: fix broken pip six installation (#1568))
RUN ln -s /usr/local/grass /usr/local/grass7
RUN ln -s /usr/local/grass `grass --config path`
Expand Down

0 comments on commit 975e253

Please sign in to comment.