Skip to content

Commit

Permalink
restore graalvm-b test image
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Aug 15, 2024
1 parent 46d82f8 commit 443c0cf
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .cloudbuild/graalvm-b.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ghcr.io/graalvm/graalvm-ce:ol9-java17-22.3.3-b1
FROM ghcr.io/graalvm/graalvm-ce:ol7-java17-22.3.3-b1

RUN gu install native-image && \
microdnf update -y oraclelinux-release-el9 && \
microdnf install -y wget unzip git && \
yum update -y && \
yum install -y wget unzip git && \
# Install maven
wget -q https://archive.apache.org/dist/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.zip -O /tmp/maven.zip && \
unzip /tmp/maven.zip -d /tmp/maven && \
Expand All @@ -28,22 +28,20 @@ ENV PATH $PATH:/usr/local/lib/maven/bin

# Install gcloud SDK
COPY google-cloud-sdk.repo /etc/yum.repos.d/google-cloud-sdk.repo
RUN microdnf install -y google-cloud-sdk
RUN yum install -y google-cloud-sdk

# Adding the package path to local
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin

# Install docker
# See also https://docs.docker.com/engine/install/rhel/#set-up-the-repository
COPY docker-ce.repo /etc/yum.repos.d/docker-ce.repo
RUN microdnf install -y docker-ce docker-ce-cli
RUN yum install -y docker-engine docker-cli

# Install terraform
# See also https://www.hashicorp.com/official-packaging-guide
COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
RUN microdnf -y install terraform
RUN yum -y install terraform

# Install jq
RUN microdnf -y install jq
RUN yum -y install jq

WORKDIR /workspace

0 comments on commit 443c0cf

Please sign in to comment.