File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,22 @@ RUN set -eux; \
22
22
gosu nobody true
23
23
24
24
ENV INFLUXDB_VERSION 2.0.4
25
- # TODO: Update this to use a 'real' release.
26
25
RUN set -eux && \
27
26
ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
28
27
case "${dpkgArch##*-}" in \
29
28
amd64) ARCH='amd64' ;; \
30
29
arm64) ARCH='arm64' ;; \
31
30
*) echo "Unsupported architecture: ${dpkgArch}" ; exit 1;; \
32
31
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 && \
35
34
export GNUPGHOME="$(mktemp -d)" && \
36
35
echo "disable-ipv6" >> $GNUPGHOME/dirmngr.conf && \
37
36
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}* && \
42
41
influxd version && \
43
42
influx version
44
43
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ RUN set -eux; \
33
33
gosu nobody true
34
34
35
35
ENV INFLUXDB_VERSION 2.0.4
36
- # TODO: Update this to use a 'real' release.
37
36
RUN set -eux && \
38
37
ARCH=$(arch) && \
39
38
if [ ${ARCH} = x86_64 ]; then \
@@ -43,15 +42,15 @@ RUN set -eux && \
43
42
else \
44
43
echo "Unsupported architecture: ${ARCH}" && exit 1; \
45
44
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 && \
48
47
export GNUPGHOME="$(mktemp -d)" && \
49
48
echo "disable-ipv6" >> $GNUPGHOME/dirmngr.conf && \
50
49
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}* && \
55
54
influxd version && \
56
55
influx version
57
56
You can’t perform that action at this time.
0 commit comments