Skip to content
Snippets Groups Projects
Commit 5c32fb0b authored by Brandon Pfeifer's avatar Brandon Pfeifer
Browse files

InfluxDB Core and Enterprise v3.0.1

parent dc6a39ca
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ RUN groupadd --gid 1500 influxdb3 && \
/usr/lib/influxdb3 \
/plugins
ENV INFLUXDB_VERSION=3.0.0
ENV INFLUXDB_VERSION=3.0.1
RUN case "$(dpkg --print-architecture)" in \
amd64) ARCH=amd64 ;; \
arm64) ARCH=arm64 ;; \
......
......@@ -3,7 +3,11 @@ set -euo pipefail
args=("${@}")
if [[ "${1}" == influxdb3 ]] ; then
if [[ "${args[0]:-}" =~ ^- ]] ; then
args=(influxdb3 serve "${args[@]}")
fi
if [[ "${args[0]:-}" == influxdb3 ]] ; then
for i in "${!args[@]}"; do
args[i]="$(envsubst <<<"${args[i]}")"
done
......
......@@ -16,7 +16,7 @@ RUN groupadd --gid 1500 influxdb3 && \
/usr/lib/influxdb3 \
/plugins
ENV INFLUXDB_VERSION=3.0.0
ENV INFLUXDB_VERSION=3.0.1
RUN case "$(dpkg --print-architecture)" in \
amd64) ARCH=amd64 ;; \
arm64) ARCH=arm64 ;; \
......
......@@ -3,7 +3,11 @@ set -euo pipefail
args=("${@}")
if [[ "${1}" == influxdb3 ]] ; then
if [[ "${args[0]:-}" =~ ^- ]] ; then
args=(influxdb3 serve "${args[@]}")
fi
if [[ "${args[0]:-}" == influxdb3 ]] ; then
for i in "${!args[@]}"; do
args[i]="$(envsubst <<<"${args[i]}")"
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment