Skip to content

Commit 5c32fb0

Browse files
committed
InfluxDB Core and Enterprise v3.0.1
1 parent dc6a39c commit 5c32fb0

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

influxdb/3.0-core/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN groupadd --gid 1500 influxdb3 && \
1616
/usr/lib/influxdb3 \
1717
/plugins
1818

19-
ENV INFLUXDB_VERSION=3.0.0
19+
ENV INFLUXDB_VERSION=3.0.1
2020
RUN case "$(dpkg --print-architecture)" in \
2121
amd64) ARCH=amd64 ;; \
2222
arm64) ARCH=arm64 ;; \

influxdb/3.0-core/entrypoint.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ set -euo pipefail
33

44
args=("${@}")
55

6-
if [[ "${1}" == influxdb3 ]] ; then
6+
if [[ "${args[0]:-}" =~ ^- ]] ; then
7+
args=(influxdb3 serve "${args[@]}")
8+
fi
9+
10+
if [[ "${args[0]:-}" == influxdb3 ]] ; then
711
for i in "${!args[@]}"; do
812
args[i]="$(envsubst <<<"${args[i]}")"
913
done

influxdb/3.0-enterprise/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN groupadd --gid 1500 influxdb3 && \
1616
/usr/lib/influxdb3 \
1717
/plugins
1818

19-
ENV INFLUXDB_VERSION=3.0.0
19+
ENV INFLUXDB_VERSION=3.0.1
2020
RUN case "$(dpkg --print-architecture)" in \
2121
amd64) ARCH=amd64 ;; \
2222
arm64) ARCH=arm64 ;; \

influxdb/3.0-enterprise/entrypoint.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ set -euo pipefail
33

44
args=("${@}")
55

6-
if [[ "${1}" == influxdb3 ]] ; then
6+
if [[ "${args[0]:-}" =~ ^- ]] ; then
7+
args=(influxdb3 serve "${args[@]}")
8+
fi
9+
10+
if [[ "${args[0]:-}" == influxdb3 ]] ; then
711
for i in "${!args[@]}"; do
812
args[i]="$(envsubst <<<"${args[i]}")"
913
done

0 commit comments

Comments
 (0)