Skip to content

Commit

Permalink
harder!
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Feb 7, 2024
1 parent 129a5ba commit 942352d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 942352d

Please sign in to comment.