artifactory: update to Artifactory 5.11.1
artifactory: update to Artifactory 5.11.1

Change-Id: Id52d7481d051a09c590e3bdfeee7f9b5d4eabdae

FROM docker.bintray.io/jfrog/artifactory-pro:5.9.3

# specific to 5.1.46; revisit this when a new driver is released
RUN curl -sL https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.46.tar.gz | \
      tar -v --overwrite --directory /opt/jfrog/artifactory/tomcat/lib/ --strip 1 --wildcards -zx '*mysql-connector-java-*-bin.jar'

# 'unhold' packages, upgrade, install less (useful for diags)
RUN dpkg -l|awk '(/^h/){print $2}'|xargs apt-mark unhold && \
    apt-get update && \
    apt-get dist-upgrade -y && \
    apt-get install -y less && \
    find /var/lib/apt/lists/ /var/log/ -type f -size +0 -print0 | xargs -r0 rm -v

FROM docker.bintray.io/jfrog/artifactory-pro:5.11.1

# specific to 5.1.46; revisit this when a new driver is released
RUN curl -sL https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.46.tar.gz | \
      tar -v --overwrite --directory /opt/jfrog/artifactory/tomcat/lib/ --strip 1 --wildcards -zx '*mysql-connector-java-*-bin.jar'

# 'unhold' packages, upgrade, install less (useful for diags)
RUN dpkg -l|awk '(/^h/){print $2}'|xargs apt-mark unhold && \
    apt-get update && \
    apt-get dist-upgrade -y && \
    apt-get install -y less && \
    find /var/lib/apt/lists/ /var/log/ -type f -size +0 -print0 | xargs -r0 rm -v
