Skip to content

Commit

Permalink
Bump version of exporter and docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
geobeau committed Feb 10, 2020
1 parent e8a78a8 commit 97a0be2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.criteo.nosql'
version '2.3.0'
version '2.3.2'

apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
Expand Down
6 changes: 2 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM openjdk:11-jre-slim-sid
FROM openjdk:11-jre-slim-buster

ARG EXPORTER_VERSION=2.2.1
ARG EXPORTER_SHA512=ef83fc1404fce6c6b949a9dfe0f1f0bba9b2d21591550b954439723500e0bc17ee083d9995cc212d646e519614fef0f7c6802ce2635319bdd3ca69b0c51e91ad
ARG EXPORTER_VERSION=2.3.2

RUN apt-get update && apt-get install -y --no-install-recommends \
netcat \
Expand All @@ -11,7 +10,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN mkdir -p /etc/cassandra_exporter /opt/cassandra_exporter
ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64 /sbin/dumb-init
ADD https://github.com/criteo/cassandra_exporter/releases/download/${EXPORTER_VERSION}/cassandra_exporter-${EXPORTER_VERSION}-all.jar /opt/cassandra_exporter/cassandra_exporter.jar
RUN echo "${EXPORTER_SHA512} /opt/cassandra_exporter/cassandra_exporter.jar" > sha512_checksum.txt && sha512sum -c sha512_checksum.txt
ADD config.yml /etc/cassandra_exporter/
ADD run.sh /

Expand Down

0 comments on commit 97a0be2

Please sign in to comment.