File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11
2- ARG IMAGE =ibmcom/websphere-liberty:kernel-java8-openj9-ubi
3- FROM ${IMAGE} as staging
2+ ARG PARENT_IMAGE =ibmcom/websphere-liberty:kernel-java8-openj9-ubi
3+ FROM $PARENT_IMAGE as staging
44
55COPY --chown=1001:0 server.xml /config
66COPY --chown=1001:0 spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar /staging/myFatApp.jar
@@ -13,7 +13,7 @@ RUN features.sh \
1313
1414RUN configure.sh
1515
16- FROM ${IMAGE}
16+ FROM $PARENT_IMAGE
1717
1818COPY --from=staging /config/server.xml /config/server.xml
1919
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- FROM ibmcom/websphere-liberty:kernel-java17-openj9-ubi
16+ ARG PARENT_IMAGE=ibmcom/websphere-liberty:kernel-java17-openj9-ubi
17+ FROM $PARENT_IMAGE
1718
1819COPY --chown=1001:0 config /config/
1920
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- FROM ibmcom/websphere-liberty:kernel-java8-openj9-ubi
15+ ARG PARENT_IMAGE=ibmcom/websphere-liberty:kernel-java8-openj9-ubi
16+ FROM $PARENT_IMAGE
1617
1718COPY --chown=1001:0 config /config/
1819
You can’t perform that action at this time.
0 commit comments