Skip to content

Commit

Permalink
Alpine docker: enforce usage of Python3 (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
neteler committed Jul 29, 2019
1 parent 533b572 commit 2875328
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile_alpine
Expand Up @@ -172,6 +172,11 @@ RUN echo "Install main packages";\
tar xfz grass-$GRASS_VERSION.git_src_snapshot_latest.tar.gz --strip=1 -C /src/grass_build && \
rm -f grass-$GRASS_VERSION.git_src_snapshot_latest.tar.gz; \
#
# Fixup python shebangs - TODO: will be resolved in future by grass-core
cd /src/grass_build && \
find -name '*.py' | xargs sed -i 's,#!/usr/bin/env python,#!/usr/bin/env python3,' && \
sed -i 's,python,python3,' include/Make/Platform.make.in && \
#
# Configure compile and install GRASS GIS
#
echo " => Configure and compile grass";\
Expand Down

0 comments on commit 2875328

Please sign in to comment.