Skip to content

Commit 98778a7

Browse files
committed
Add PARENT_IMAGE build arg
1 parent 62efa70 commit 98778a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+97
-56
lines changed

ga/24.0.0.6/full/Dockerfile.ubuntu.ibmjava8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM websphere-liberty:24.0.0.6-kernel-java8-ibmjava
15+
ARG PARENT_IMAGE=websphere-liberty:24.0.0.6-kernel-java8-ibmjava
16+
FROM $PARENT_IMAGE
1617

1718
ARG VERBOSE=false
1819
ARG REPOSITORIES_PROPERTIES=""

ga/24.0.0.6/full/Dockerfile.ubuntu.openjdk11

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM websphere-liberty:24.0.0.6-kernel-java11-openj9
15+
ARG PARENT_IMAGE=websphere-liberty:24.0.0.6-kernel-java11-openj9
16+
FROM $PARENT_IMAGE
1617

1718
ARG VERBOSE=false
1819
ARG REPOSITORIES_PROPERTIES=""

ga/24.0.0.6/full/Dockerfile.ubuntu.openjdk17

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM websphere-liberty:24.0.0.6-kernel-java17-openj9
15+
ARG PARENT_IMAGE=websphere-liberty:24.0.0.6-kernel-java17-openj9
16+
FROM $PARENT_IMAGE
1617

1718
ARG VERBOSE=false
1819
ARG REPOSITORIES_PROPERTIES=""

ga/24.0.0.6/kernel/Dockerfile.ubi.ibmjava8

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM ibmjava:8-ubi AS getRuntime
15+
ARG PARENT_IMAGE=ibmjava:8-ubi
16+
FROM $PARENT_IMAGE AS getRuntime
1617

1718
USER root
1819

@@ -41,7 +42,7 @@ RUN yum -y install unzip wget openssl \
4142
&& chmod -R g+rw /opt/ibm/wlp \
4243
&& cp -a /opt/ibm/wlp/lafiles/. /licenses/
4344

44-
FROM ibmjava:8-ubi
45+
FROM $PARENT_IMAGE
4546

4647
USER root
4748

ga/24.0.0.6/kernel/Dockerfile.ubi.openjdk11

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-11-jdk-ubi AS getRuntime
15+
ARG PARENT_IMAGE=icr.io/appcafe/ibm-semeru-runtimes:open-11-jdk-ubi
16+
FROM $PARENT_IMAGE AS getRuntime
1617

1718
USER root
1819

@@ -42,7 +43,7 @@ RUN yum -y install shadow-utils unzip wget findutils openssl \
4243
&& chmod -R g+rw /opt/ibm/wlp \
4344
&& cp -a /opt/ibm/wlp/lafiles/. /licenses/
4445

45-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-11-jdk-ubi
46+
FROM $PARENT_IMAGE
4647

4748
USER root
4849

ga/24.0.0.6/kernel/Dockerfile.ubi.openjdk17

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi AS getRuntime
15+
ARG PARENT_IMAGE=icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi
16+
FROM $PARENT_IMAGE AS getRuntime
1617

1718
USER root
1819

@@ -41,7 +42,7 @@ RUN yum -y install shadow-utils unzip wget findutils openssl \
4142
&& chmod -R g+rw /opt/ibm/wlp \
4243
&& cp -a /opt/ibm/wlp/lafiles/. /licenses/
4344

44-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi
45+
FROM $PARENT_IMAGE
4546

4647
USER root
4748

ga/24.0.0.6/kernel/Dockerfile.ubi.openjdk21

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-21-jre-ubi9-minimal AS getRuntime
15+
ARG PARENT_IMAGE=icr.io/appcafe/ibm-semeru-runtimes:open-21-jre-ubi9-minimal
16+
FROM $PARENT_IMAGE AS getRuntime
1617

1718
USER root
1819

@@ -40,7 +41,7 @@ RUN microdnf -y install shadow-utils unzip wget findutils openssl \
4041
&& chmod -R g+rw /opt/ibm/wlp \
4142
&& cp -a /opt/ibm/wlp/lafiles/. /licenses/
4243

43-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-21-jre-ubi9-minimal
44+
FROM $PARENT_IMAGE
4445

4546
USER root
4647

ga/24.0.0.6/kernel/Dockerfile.ubi.openjdk8

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-8-jdk-ubi AS getRuntime
15+
ARG PARENT_IMAGE=icr.io/appcafe/ibm-semeru-runtimes:open-8-jdk-ubi
16+
FROM $PARENT_IMAGE AS getRuntime
1617

1718
USER root
1819

@@ -41,7 +42,7 @@ RUN yum -y install shadow-utils unzip wget findutils openssl \
4142
&& chmod -R g+rw /opt/ibm/wlp \
4243
&& cp -a /opt/ibm/wlp/lafiles/. /licenses/
4344

44-
FROM icr.io/appcafe/ibm-semeru-runtimes:open-8-jdk-ubi
45+
FROM $PARENT_IMAGE
4546

4647
USER root
4748

ga/24.0.0.6/kernel/Dockerfile.ubuntu.ibmjava8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM ibmjava:8-jre
15+
ARG PARENT_IMAGE=ibmjava:8-jre
16+
FROM $PARENT_IMAGE
1617

1718
USER root
1819

ga/24.0.0.6/kernel/Dockerfile.ubuntu.openjdk11

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM ibm-semeru-runtimes:open-11-jre-jammy
15+
ARG PARENT_IMAGE=ibm-semeru-runtimes:open-11-jre-jammy
16+
FROM $PARENT_IMAGE
1617

1718
USER root
1819

0 commit comments

Comments
 (0)