Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: alpine 3.19.1 #85

Merged
merged 14 commits into from
Feb 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
harder!
Signed-off-by: Adrian Cole <[email protected]>
Adrian Cole committed Feb 7, 2024
commit 942352db2ab2eb1598148b17844f9c225b59f141
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -33,8 +33,10 @@ package=openjdk${java_major_version}

# Install openjdk using only the edge repository, to allow latest versions
# without conflicting with what's on
sed -i '1ihttps://dl-cdn.alpinelinux.org/alpine/edge/community' /etc/apk/repositories
apk --no-cache add ${package}-jdk=~${java_version} binutils tar wget
echo https://dl-cdn.alpinelinux.org/alpine/edge/community > /tmp/repositories.$$
apk --no-cache add ${package}-jdk=~${java_version} binutils tar wget \
--repositories-file /tmp/repositories.$$
rm /tmp/repositories.$$

# Typically, only amd64 is tested in CI: Run commands that ensure binaries match current arch.
if ! java -version || ! jar --version || ! jlink --version; then maybe_log_crash; fi