File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN case "$(dpkg --print-architecture)" in \
33
33
"influxdb3-core-${INFLUXDB_VERSION}_linux_${ARCH}.tar.gz" && \
34
34
# Install InfluxDB3 Core \
35
35
tar --strip-components 1 -C /usr/lib/influxdb3 -xvf "influxdb3-core-${INFLUXDB_VERSION}_linux_${ARCH}.tar.gz" && \
36
+ mv /usr/lib/influxdb3/influxdb3 /usr/bin/influxdb3 && \
36
37
chown -R influxdb3:influxdb3 /var/lib/influxdb3 /plugins && \
37
38
chown -R root:root /usr/lib/influxdb3 && \
38
39
# Cleanup \
@@ -52,4 +53,4 @@ ENV LOG_FILTER=info
52
53
EXPOSE 8181
53
54
54
55
ENTRYPOINT ["/usr/bin/entrypoint.sh" ]
55
- CMD ["serve" ]
56
+ CMD ["influxdb3" , " serve" ]
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ for i in "${!args[@]}"; do
6
6
args[${i} ]=" $( echo " ${args[${i}]} " | envsubst) "
7
7
done
8
8
9
- exec /usr/lib/influxdb3/influxdb3 " ${args[@]} "
9
+ exec " ${args[@]} "
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN case "$(dpkg --print-architecture)" in \
33
33
"influxdb3-enterprise-${INFLUXDB_VERSION}_linux_${ARCH}.tar.gz" && \
34
34
# Install InfluxDB3 Enterprise \
35
35
tar --strip-components 1 -C /usr/lib/influxdb3 -xvf "influxdb3-enterprise-${INFLUXDB_VERSION}_linux_${ARCH}.tar.gz" && \
36
+ mv /usr/lib/influxdb3/influxdb3 /usr/bin/influxdb3 && \
36
37
chown -R influxdb3:influxdb3 /var/lib/influxdb3 /plugins && \
37
38
chown -R root:root /usr/lib/influxdb3 && \
38
39
# Cleanup \
@@ -52,4 +53,4 @@ ENV LOG_FILTER=info
52
53
EXPOSE 8181
53
54
54
55
ENTRYPOINT ["/usr/bin/entrypoint.sh" ]
55
- CMD ["serve" ]
56
+ CMD ["influxdb3" , " serve" ]
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ for i in "${!args[@]}"; do
6
6
args[${i} ]=" $( echo " ${args[${i}]} " | envsubst) "
7
7
done
8
8
9
- exec /usr/lib/influxdb3/influxdb3 " ${args[@]} "
9
+ exec " ${args[@]} "
You can’t perform that action at this time.
0 commit comments