Apply license option should be moved to configure.sh for the customers
Opened this issue · 2 comments
jagraj commented
While building docker images users have to add following code to apply the license. It makes sense to move this to configure.sh and users does not have to do this in their docker files.
# Upgrade to production license if URL to JAR provided
ARG LICENSE_JAR_URL
RUN \
if [ $LICENSE_JAR_URL ]; then \
wget $LICENSE_JAR_URL -O /tmp/license.jar \
&& java -jar /tmp/license.jar -acceptLicense /opt/ibm \
&& rm /tmp/license.jar; \
fi
imv7 commented
What is the image's name?
hsaunders0788 commented
Is there a reason this might not have been put in the configure.sh in the first place? Perhaps they are kept separate on purpose?