-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #771 from influxdata/BNP_release-influxdb-v1.11.7
feat(influxdb): build InfluxDB v1.11.7 OSS
- Loading branch information
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM buildpack-deps:bookworm-curl | ||
|
||
RUN set -ex && \ | ||
mkdir ~/.gnupg; \ | ||
echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; \ | ||
for key in \ | ||
9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E ; \ | ||
do \ | ||
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys "$key" ; \ | ||
done | ||
|
||
ARG TARGETARCH | ||
ARG INFLUXDB_VERSION=1.11.7 | ||
ARG INFLUXDB_DEB=influxdb-${INFLUXDB_VERSION}-${TARGETARCH}.deb | ||
ARG INFLUXDB_ASC=influxdb-${INFLUXDB_VERSION}-${TARGETARCH}.deb.asc | ||
RUN export DEBIAN_FRONTEND=noninteractive && \ | ||
apt-get update && \ | ||
curl -fLO "https://dl.influxdata.com/influxdb/releases/${INFLUXDB_DEB}" && \ | ||
curl -fLO "https://dl.influxdata.com/influxdb/releases/${INFLUXDB_ASC}" && \ | ||
gpg --batch --verify "${INFLUXDB_ASC}" "${INFLUXDB_DEB}" && \ | ||
apt-get install -y "./${INFLUXDB_DEB}" && \ | ||
rm -rf "${INFLUXDB_PKG}" \ | ||
"${INFLUXDB_ASC}" \ | ||
/var/lib/apt/lists/* | ||
COPY influxdb.conf /etc/influxdb/influxdb.conf | ||
|
||
EXPOSE 8086 | ||
|
||
VOLUME /var/lib/influxdb | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
COPY init-influxdb.sh /init-influxdb.sh | ||
|
||
USER influxdb | ||
ENTRYPOINT ["/entrypoint.sh"] | ||
CMD ["influxd"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters