File tree Expand file tree Collapse file tree 7 files changed +31
-5
lines changed Expand file tree Collapse file tree 7 files changed +31
-5
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ WORKDIR /tmp
3030
3131RUN set -eux; \
3232 microdnf -y install gzip tar openssl jq; \
33+ microdnf -y update; \
3334 microdnf clean all
3435
3536ENV LANG="en_US.UTF-8" \
@@ -57,6 +58,14 @@ RUN set -eux; \
5758# Finally, copy the exporter sidecar and create the docker image
5859FROM linux as base
5960
61+ LABEL "org.opencontainers.image.authors" ="Ryan Eberhard <ryan.eberhard@oracle.com>, Russell Gold <russell.gold@oracle.com>" \
62+ "org.opencontainers.image.url" ="https://github.com/oracle/weblogic-monitoring-exporter" \
63+ "org.opencontainers.image.source" ="https://github.com/oracle/weblogic-monitoring-exporter" \
64+ "org.opencontainers.image.vendor" ="Oracle Corporation" \
65+ "org.opencontainers.image.title" ="Oracle WebLogic Monitoring Exporter" \
66+ "org.opencontainers.image.description" ="Oracle WebLogic Monitoring Exporter" \
67+ "org.opencontainers.image.documentation" ="https://github.com/oracle/weblogic-monitoring-exporter"
68+
6069COPY --from=build project/wls-exporter-sidecar/target/wls-exporter-sidecar.jar ./
6170COPY --from=build project/wls-exporter-sidecar/target/libs ./libs
6271COPY start_exporter.sh .
Original file line number Diff line number Diff line change 99 <parent >
1010 <artifactId >wls-exporter-parent</artifactId >
1111 <groupId >com.oracle.wls.exporter</groupId >
12- <version >2.0.2 </version >
12+ <version >2.0.3 </version >
1313 </parent >
1414
1515 <artifactId >build-helper-mojo</artifactId >
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Copyright (c) 2021, Oracle and/or its affiliates.
3+ # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
5+ curl -L -O https://github.com/oracle/weblogic-monitoring-exporter/releases/latest/download/wls-exporter.war
6+
7+ if [ ! -z " $1 " ]; then
8+ tmp_dir=$( mktemp -d -t ci-XXXXXXXXXX)
9+ echo " created $tmp_dir "
10+ cp $1 $tmp_dir /config.yml
11+ warDir=$PWD
12+ pushd $tmp_dir
13+ echo " in temp dir"
14+ zip $warDir /wls-exporter.war config.yml
15+ popd
16+ # rm -rf $tmp_dir
17+ fi
Original file line number Diff line number Diff line change 77
88 <groupId >com.oracle.wls.exporter</groupId >
99 <artifactId >wls-exporter-parent</artifactId >
10- <version >2.0.2 </version >
10+ <version >2.0.3 </version >
1111 <modules >
1212 <module >wls-exporter-core</module >
1313 </modules >
Original file line number Diff line number Diff line change 88 <parent >
99 <artifactId >wls-exporter-parent</artifactId >
1010 <groupId >com.oracle.wls.exporter</groupId >
11- <version >2.0.2 </version >
11+ <version >2.0.3 </version >
1212 </parent >
1313
1414 <artifactId >wls-exporter-core</artifactId >
Original file line number Diff line number Diff line change 88 <parent >
99 <groupId >com.oracle.wls.exporter</groupId >
1010 <artifactId >wls-exporter-parent</artifactId >
11- <version >2.0.2 </version >
11+ <version >2.0.3 </version >
1212 </parent >
1313 <artifactId >wls-exporter-sidecar</artifactId >
1414 <name >WebLogic Monitoring Exporter Sidecar</name >
Original file line number Diff line number Diff line change 77 <parent >
88 <artifactId >wls-exporter-parent</artifactId >
99 <groupId >com.oracle.wls.exporter</groupId >
10- <version >2.0.2 </version >
10+ <version >2.0.3 </version >
1111 </parent >
1212 <modelVersion >4.0.0</modelVersion >
1313
You can’t perform that action at this time.
0 commit comments