Skip to content

Commit

Permalink
InfluxDB: Remove duplicate influx binary
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed Oct 30, 2023
1 parent 653ea42 commit d4d0f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions influxdb/2.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,8 @@ RUN case "$(dpkg --print-architecture)" in \
-fLO "https://dl.influxdata.com/influxdb/releases/influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz.asc" && \
gpg --batch --verify "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz.asc" \
"influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" && \
tar xzf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" && \
cp influx /usr/local/bin/influx && \
rm -rf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}" \
"influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" \
tar xzf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" -C /usr/local/bin ./influx && \
rm -rf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" \
"influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz.asc" && \
influx version

Expand Down
6 changes: 2 additions & 4 deletions influxdb/2.7/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ RUN case "$(apk --print-arch)" in \
-fLO "https://dl.influxdata.com/influxdb/releases/influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz.asc" && \
gpg --batch --verify "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz.asc" \
"influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" && \
tar xzf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" && \
cp influx /usr/local/bin/influx && \
rm -rf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}" \
"influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" \
tar xzf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" -C /usr/local/bin ./influx && \
rm -rf "influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz" \
"influxdb2-client-${INFLUX_CLI_VERSION}-linux-${arch}.tar.gz.asc" && \
influx version

Expand Down

0 comments on commit d4d0f3a

Please sign in to comment.