fix: Default Python package

This commit is contained in:
Andras Bacsai 2022-05-10 14:26:25 +02:00
parent 2af13fff55
commit 37d8f1847c

View File

@ -406,6 +406,10 @@ export function setDefaultBaseImage(buildPack) {
} }
]; ];
const pythonVersions = [ const pythonVersions = [
{
value: 'python:3.10-alpine',
label: 'python:3.10-alpine'
},
{ {
value: 'python:3.10-buster', value: 'python:3.10-buster',
label: 'python:3.10-buster' label: 'python:3.10-buster'
@ -486,7 +490,7 @@ export function setDefaultBaseImage(buildPack) {
payload.baseBuildImages = nodeVersions; payload.baseBuildImages = nodeVersions;
} }
if (buildPack === 'python') { if (buildPack === 'python') {
payload.baseImage = 'python:3-alpine'; payload.baseImage = 'python:3.10-alpine';
payload.baseImages = pythonVersions; payload.baseImages = pythonVersions;
} }
if (buildPack === 'rust') { if (buildPack === 'rust') {