File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN groupadd --gid 1500 influxdb3 && \
16
16
/usr/lib/influxdb3 \
17
17
/plugins
18
18
19
- ENV INFLUXDB_VERSION=3.0.0
19
+ ENV INFLUXDB_VERSION=3.0.1
20
20
RUN case "$(dpkg --print-architecture)" in \
21
21
amd64) ARCH=amd64 ;; \
22
22
arm64) ARCH=arm64 ;; \
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ set -euo pipefail
3
3
4
4
args=(" ${@ } " )
5
5
6
- if [[ " ${1} " == influxdb3 ]] ; then
6
+ if [[ " ${args[0]:- } " =~ ^- ]] ; then
7
+ args=(influxdb3 serve " ${args[@]} " )
8
+ fi
9
+
10
+ if [[ " ${args[0]:- } " == influxdb3 ]] ; then
7
11
for i in " ${! args[@]} " ; do
8
12
args[i]=" $( envsubst <<< " ${args[i]}" ) "
9
13
done
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN groupadd --gid 1500 influxdb3 && \
16
16
/usr/lib/influxdb3 \
17
17
/plugins
18
18
19
- ENV INFLUXDB_VERSION=3.0.0
19
+ ENV INFLUXDB_VERSION=3.0.1
20
20
RUN case "$(dpkg --print-architecture)" in \
21
21
amd64) ARCH=amd64 ;; \
22
22
arm64) ARCH=arm64 ;; \
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ set -euo pipefail
3
3
4
4
args=(" ${@ } " )
5
5
6
- if [[ " ${1} " == influxdb3 ]] ; then
6
+ if [[ " ${args[0]:- } " =~ ^- ]] ; then
7
+ args=(influxdb3 serve " ${args[@]} " )
8
+ fi
9
+
10
+ if [[ " ${args[0]:- } " == influxdb3 ]] ; then
7
11
for i in " ${! args[@]} " ; do
8
12
args[i]=" $( envsubst <<< " ${args[i]}" ) "
9
13
done
You can’t perform that action at this time.
0 commit comments