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

[OPENJDK-3659] remove python #550

Open
wants to merge 1 commit into
base: ubi10
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions modules/util/rm-python/execute.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -euo pipefail

rpm -e $(rpm -qa python*)
7 changes: 7 additions & 0 deletions modules/util/rm-python/module.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
schema_version: 1
name: jboss.container.util.rm-python
version: '1.0'
description: Remove python packages

execute:
- script: execute.sh
35 changes: 35 additions & 0 deletions ubi10-openjdk-21.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This is an Image descriptor for <https://cekit.io/>
schema_version: 1

from: "quay.io/centos/centos:stream10-minimal"
name: &name "ubi10/openjdk-21"
version: &version "1.21"
description: "Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK 21"

labels:
- name: "com.redhat.component"
value: "openjdk-21-ubi10-container"
- name: "name"
value: *name
- name: "version"
value: *version

envs:
- name: "JBOSS_IMAGE_NAME"
value: *name
- name: "JBOSS_IMAGE_VERSION"
value: *version

modules:
repositories:
- path: modules
install:
- name: common
- name: jboss.container.util.RHEL-67389
- name: jboss.container.util.rm-python
- name: jboss.container.util.pkg-update
- name: jboss.container.openjdk.jdk
version: "21"
- name: jboss.container.maven
version: "3.8.21"
- name: jboss.container.java.s2i.bash
1 change: 1 addition & 0 deletions ubi9-openjdk-21-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ modules:
repositories:
- path: modules
install:
- name: jboss.container.rm-python
- name: jboss.container.util.pkg-update
- name: jboss.container.tar
- name: jboss.container.openjdk.jre
Expand Down
1 change: 1 addition & 0 deletions ubi9-openjdk-21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ modules:
repositories:
- path: modules
install:
- name: jboss.container.rm-python
- name: jboss.container.util.pkg-update
- name: jboss.container.openjdk.jdk
version: "21"
Expand Down
Loading