Skip to content

Commit 21b42bc

Browse files
authored
InfluxDB 2.0.4 (#452)
1 parent b5cb29f commit 21b42bc

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

influxdb/2.0/Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,22 @@ RUN set -eux; \
2222
gosu nobody true
2323

2424
ENV INFLUXDB_VERSION 2.0.4
25-
# TODO: Update this to use a 'real' release.
2625
RUN set -eux && \
2726
ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
2827
case "${dpkgArch##*-}" in \
2928
amd64) ARCH='amd64';; \
3029
arm64) ARCH='arm64';; \
3130
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
3231
esac && \
33-
wget --no-verbose https://dl.influxdata.com/platform/nightlies/influxdb2_nightly_linux_${ARCH}.tar.gz.asc && \
34-
wget --no-verbose https://dl.influxdata.com/platform/nightlies/influxdb2_nightly_linux_${ARCH}.tar.gz && \
32+
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz.asc && \
33+
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz && \
3534
export GNUPGHOME="$(mktemp -d)" && \
3635
echo "disable-ipv6" >> $GNUPGHOME/dirmngr.conf && \
3736
gpg --keyserver keys.openpgp.org --recv-keys 8C2D403D3C3BDB81A4C27C883C3E4B7317FFE40A && \
38-
gpg --batch --verify influxdb2_nightly_linux_${ARCH}.tar.gz.asc influxdb2_nightly_linux_${ARCH}.tar.gz && \
39-
tar xzf influxdb2_nightly_linux_${ARCH}.tar.gz && \
40-
cp influxdb2_nightly_linux_${ARCH}/influx* /usr/local/bin/ && \
41-
rm -rf "$GNUPGHOME" influxdb2.key influxdb2_nightly_${ARCH}* && \
37+
gpg --batch --verify influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz.asc influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz && \
38+
tar xzf influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz && \
39+
cp influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}/influx* /usr/local/bin/ && \
40+
rm -rf "$GNUPGHOME" influxdb2.key influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}* && \
4241
influxd version && \
4342
influx version
4443

influxdb/2.0/alpine/Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ RUN set -eux; \
3333
gosu nobody true
3434

3535
ENV INFLUXDB_VERSION 2.0.4
36-
# TODO: Update this to use a 'real' release.
3736
RUN set -eux && \
3837
ARCH=$(arch) && \
3938
if [ ${ARCH} = x86_64 ]; then \
@@ -43,15 +42,15 @@ RUN set -eux && \
4342
else \
4443
echo "Unsupported architecture: ${ARCH}" && exit 1; \
4544
fi && \
46-
wget --no-verbose https://dl.influxdata.com/platform/nightlies/influxdb2_nightly_linux_${ARCH}.tar.gz.asc && \
47-
wget --no-verbose https://dl.influxdata.com/platform/nightlies/influxdb2_nightly_linux_${ARCH}.tar.gz && \
45+
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz.asc && \
46+
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz && \
4847
export GNUPGHOME="$(mktemp -d)" && \
4948
echo "disable-ipv6" >> $GNUPGHOME/dirmngr.conf && \
5049
gpg --keyserver keys.openpgp.org --recv-keys 8C2D403D3C3BDB81A4C27C883C3E4B7317FFE40A && \
51-
gpg --batch --verify influxdb2_nightly_linux_${ARCH}.tar.gz.asc influxdb2_nightly_linux_${ARCH}.tar.gz && \
52-
tar xzf influxdb2_nightly_linux_${ARCH}.tar.gz && \
53-
cp influxdb2_nightly_linux_${ARCH}/influx* /usr/local/bin/ && \
54-
rm -rf "$GNUPGHOME" influxdb2.key influxdb2_nightly_${ARCH}* && \
50+
gpg --batch --verify influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz.asc influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz && \
51+
tar xzf influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}.tar.gz && \
52+
cp influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}/influx* /usr/local/bin/ && \
53+
rm -rf "$GNUPGHOME" influxdb2.key influxdb2-${INFLUXDB_VERSION}-linux-${ARCH}* && \
5554
influxd version && \
5655
influx version
5756

0 commit comments

Comments
 (0)