Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit 55ea375

Browse files
committed
Moved the order of the Dockerfile.template
Do it after the tar is complete. That way if there are any problems in the Dockerfile.template it will not require a rebuild Signed-off-by: Archimedes Trajano <[email protected]>
1 parent e946112 commit 55ea375

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ilan/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ RUN mkdir /host
3838
RUN mkdir /target
3939
COPY install_ihs.sh /host
4040
COPY versions.csv /host
41-
COPY Dockerfile.template /host
4241
RUN chmod 700 /host/install_ihs.sh
4342

4443
# requires envvars
@@ -47,4 +46,7 @@ ARG IBM_ID
4746
ARG IBM_PASSWORD
4847
RUN /host/install_ihs.sh
4948
RUN tar zcf /target/ihs${VERSION}.tar.gz /opt/IBM/HTTPServer /opt/IBM/WebSphere/Plugins /opt/IBM/WebSphere/Toolbox
49+
50+
# Build the version specific Docker file
51+
COPY Dockerfile.template /host
5052
RUN sed s/@VERSION@/${VERSION}/ /host/Dockerfile.template > /target/Dockerfile.${VERSION}

0 commit comments

Comments
 (0)