Skip to content

Commit

Permalink
ci: sync Dockerfile and GitHub Action
Browse files Browse the repository at this point in the history
+ use Java 17 by GraalVM 22.3.3
  • Loading branch information
SingularityKChen committed Oct 19, 2023
1 parent 38c9040 commit d22243f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ RUN pacman -Syu --noconfirm vim which
# Install GraalVM Ref: https://github.com/chipsalliance/chisel/blob/86b2a7d3f7807ca0d1d8a725bd87ee4be1f61007/.devcontainer/Dockerfile#L32-L40
# This downloads all relevant GraalVM architectures at once, mostly because $TARGETARCH values don't map exactly to the release URLs. Since we're optimizing for developer experience here and not image size, this is OK
# GraalVM release links can be found here: https://github.com/graalvm/graalvm-ce-builds/releases
ENV JAVA_VERSION=java11
#ADD https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.1/graalvm-ce-$JAVA_VERSION-linux-aarch64-22.3.1.tar.gz /graalvm/tarballs/arm64.tar.gz
ADD https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.1/graalvm-ce-$JAVA_VERSION-linux-amd64-22.3.1.tar.gz /graalvm/tarballs/amd64.tar.gz
ENV JAVA_VERSION=java17
#ADD https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.3/graalvm-ce-$JAVA_VERSION-linux-aarch64-22.3.3.tar.gz /graalvm/tarballs/arm64.tar.gz
ADD https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.3/graalvm-ce-$JAVA_VERSION-linux-amd64-22.3.3.tar.gz /graalvm/tarballs/amd64.tar.gz
#RUN tar -xzf /graalvm/tarballs/$TARGETARCH.tar.gz -C /graalvm --strip-components=1
RUN tar -xzf /graalvm/tarballs/amd64.tar.gz -C /graalvm --strip-components=1
ENV JAVA_HOME=/graalvm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: '22.3.1' # GraalVM version
version: '22.3.3' # GraalVM version
java-version: '17'
distribution: 'graalvm-community'
- name: Install dependencies
Expand Down

0 comments on commit d22243f

Please sign in to comment.