Skip to content

Commit

Permalink
Replace python3 symlink in almalinux-devtoolset11 image (#39)
Browse files Browse the repository at this point in the history
Because node-gyp prefers `python3` (which would be 3.6.8) over
`python`. Now they point to the same version (3.11).

Follow-up for #38.

Category: fix
  • Loading branch information
vweevers authored Oct 20, 2024
1 parent 6cc9c2a commit 5916c8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions almalinux-devtoolset11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ USER 0
RUN curl -fsSL https://rpm.nodesource.com/setup_18.x | bash - && \
microdnf install -y shadow-utils make nodejs python3.11 gcc-toolset-11 && \
ln -s python3.11 /usr/bin/python && \
ln -sf python3.11 /usr/bin/python3 && \
microdnf clean all && \
rm -rf /var/cache/yum && \
groupadd -g 1000 node && useradd -g 1000 -u 1000 -m node && \
Expand Down

0 comments on commit 5916c8f

Please sign in to comment.