Skip to content

Commit

Permalink
temurin: add support for Alpine Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Aug 16, 2024
1 parent 67fbd72 commit 12cfe0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/distributions/temurin/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ export class TemurinDistribution extends JavaBase {
return 'mac';
case 'win32':
return 'windows';
case 'linux':
if (fs.existsSync('/etc/alpine-release')) {
return 'alpine-linux';
}
return 'linux';
default:
return process.platform;
}
Expand Down

0 comments on commit 12cfe0f

Please sign in to comment.