Skip to content

Commit 3672a0b

Browse files
committed
fix: switch python to python3 for alpine
In alpine3.12, they removed the python package in favor of either python2 or python3. https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.12.0#python2_no_longer_provides_python_and_python-devel Refs #1330
1 parent 3a5c226 commit 3672a0b

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

10/alpine3.10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

10/alpine3.11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

10/alpine3.9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

12/alpine3.10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

12/alpine3.11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

12/alpine3.12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

12/alpine3.9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

14/alpine3.10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

14/alpine3.11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

14/alpine3.12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
4ED778F539E3634C779C87C6D7062848A1AB005C \

Dockerfile-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN addgroup -g 1000 node \
3333
libgcc \
3434
linux-headers \
3535
make \
36-
python \
36+
python3 \
3737
# gpg keys listed at https://github.com/nodejs/node#release-keys
3838
&& for key in \
3939
"${NODE_KEYS[@]}"

0 commit comments

Comments
 (0)