ci.docker icon indicating copy to clipboard operation
ci.docker copied to clipboard

Apply license option should be moved to configure.sh for the customers

Open jagraj opened this issue 5 years ago • 2 comments

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

jagraj avatar May 03 '19 15:05 jagraj

What is the image's name?

imv7 avatar May 04 '19 13:05 imv7

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?

hsaunders0788 avatar Oct 17 '19 15:10 hsaunders0788