Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update influxdb to Buster slim variant #380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 36 additions & 20 deletions influxdb/1.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
FROM buildpack-deps:stretch-curl
FROM debian:buster-slim

RUN set -ex && \
ENV INFLUXDB_VERSION 1.7.10

RUN set -ex; \
fetchDeps=" \
ca-certificates \
gnupg \
dirmngr \
wget \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
ARCH= && dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
arm64) ARCH='arm64';; \
armhf) ARCH='armhf';; \
armel) ARCH='armel';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac; \
\
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done; \
\
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc; \
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpg --batch --verify influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
dpkg -i influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpgconf --kill all; \
rm -f "$GNUPGHOME" influxdb_${INFLUXDB_VERSION}_${ARCH}.deb*; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*

ENV INFLUXDB_VERSION 1.7.10
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
arm64) ARCH='arm64';; \
armhf) ARCH='armhf';; \
armel) ARCH='armel';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac && \
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc && \
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb && \
gpg --batch --verify influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb_${INFLUXDB_VERSION}_${ARCH}.deb && \
dpkg -i influxdb_${INFLUXDB_VERSION}_${ARCH}.deb && \
rm -f influxdb_${INFLUXDB_VERSION}_${ARCH}.deb*
COPY influxdb.conf /etc/influxdb/influxdb.conf

EXPOSE 8086
Expand Down
45 changes: 33 additions & 12 deletions influxdb/1.7/data/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
FROM buildpack-deps:stretch-curl
FROM debian:buster-slim

RUN set -ex && \
ENV INFLUXDB_VERSION 1.7.10-c1.7.10

RUN set -ex; \
fetchDeps=" \
ca-certificates \
gnupg \
dirmngr \
wget \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
ARCH= && dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac; \
\
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done; \
\
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb.asc; \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpg --batch --verify influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb; \
dpkg -i influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpgconf --kill all; \
rm -f "$GNUPGHOME" influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb*; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*

ENV INFLUXDB_VERSION 1.7.10-c1.7.10
RUN wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_amd64.deb.asc && \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_amd64.deb && \
gpg --batch --verify influxdb-data_${INFLUXDB_VERSION}_amd64.deb.asc influxdb-data_${INFLUXDB_VERSION}_amd64.deb && \
dpkg -i influxdb-data_${INFLUXDB_VERSION}_amd64.deb && \
rm -f influxdb-data_${INFLUXDB_VERSION}_amd64.deb*
COPY influxdb.conf /etc/influxdb/influxdb.conf

EXPOSE 8086
Expand Down
45 changes: 33 additions & 12 deletions influxdb/1.7/meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
FROM buildpack-deps:stretch-curl
FROM debian:buster-slim

RUN set -ex && \
ENV INFLUXDB_VERSION 1.7.10-c1.7.10

RUN set -ex; \
fetchDeps=" \
ca-certificates \
gnupg \
dirmngr \
wget \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
ARCH= && dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac; \
\
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done; \
\
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb.asc; \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpg --batch --verify influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb; \
dpkg -i influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpgconf --kill all; \
rm -f "$GNUPGHOME" influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb*; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*

ENV INFLUXDB_VERSION 1.7.10-c1.7.10
RUN wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_amd64.deb.asc && \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_amd64.deb && \
gpg --batch --verify influxdb-meta_${INFLUXDB_VERSION}_amd64.deb.asc influxdb-meta_${INFLUXDB_VERSION}_amd64.deb && \
dpkg -i influxdb-meta_${INFLUXDB_VERSION}_amd64.deb && \
rm -f influxdb-meta_${INFLUXDB_VERSION}_amd64.deb*
COPY influxdb-meta.conf /etc/influxdb/influxdb-meta.conf

EXPOSE 8091
Expand Down
56 changes: 36 additions & 20 deletions influxdb/1.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
FROM buildpack-deps:stretch-curl
FROM debian:buster-slim

RUN set -ex && \
ENV INFLUXDB_VERSION 1.8.2

RUN set -ex; \
fetchDeps=" \
ca-certificates \
gnupg \
dirmngr \
wget \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
ARCH= && dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
arm64) ARCH='arm64';; \
armhf) ARCH='armhf';; \
armel) ARCH='armel';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac; \
\
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done; \
\
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc; \
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpg --batch --verify influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
dpkg -i influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpgconf --kill all; \
rm -f "$GNUPGHOME" influxdb_${INFLUXDB_VERSION}_${ARCH}.deb*; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*

ENV INFLUXDB_VERSION 1.8.2
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
arm64) ARCH='arm64';; \
armhf) ARCH='armhf';; \
armel) ARCH='armel';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac && \
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc && \
wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb && \
gpg --batch --verify influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb_${INFLUXDB_VERSION}_${ARCH}.deb && \
dpkg -i influxdb_${INFLUXDB_VERSION}_${ARCH}.deb && \
rm -f influxdb_${INFLUXDB_VERSION}_${ARCH}.deb*
COPY influxdb.conf /etc/influxdb/influxdb.conf

EXPOSE 8086
Expand Down
45 changes: 33 additions & 12 deletions influxdb/1.8/data/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
FROM buildpack-deps:stretch-curl
FROM debian:buster-slim

RUN set -ex && \
ENV INFLUXDB_VERSION 1.8.2-c1.8.2

RUN set -ex; \
fetchDeps=" \
ca-certificates \
gnupg \
dirmngr \
wget \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
ARCH= && dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac; \
\
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done; \
\
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb.asc; \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpg --batch --verify influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb; \
dpkg -i influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpgconf --kill all; \
rm -f "$GNUPGHOME" influxdb-data_${INFLUXDB_VERSION}_${ARCH}.deb*; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*

ENV INFLUXDB_VERSION 1.8.2-c1.8.2
RUN wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_amd64.deb.asc && \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-data_${INFLUXDB_VERSION}_amd64.deb && \
gpg --batch --verify influxdb-data_${INFLUXDB_VERSION}_amd64.deb.asc influxdb-data_${INFLUXDB_VERSION}_amd64.deb && \
dpkg -i influxdb-data_${INFLUXDB_VERSION}_amd64.deb && \
rm -f influxdb-data_${INFLUXDB_VERSION}_amd64.deb*
COPY influxdb.conf /etc/influxdb/influxdb.conf

EXPOSE 8086
Expand Down
45 changes: 33 additions & 12 deletions influxdb/1.8/meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
FROM buildpack-deps:stretch-curl
FROM debian:buster-slim

RUN set -ex && \
ENV INFLUXDB_VERSION 1.8.2-c1.8.2

RUN set -ex; \
fetchDeps=" \
ca-certificates \
gnupg \
dirmngr \
wget \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
ARCH= && dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac; \
\
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done; \
\
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb.asc; \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpg --batch --verify influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb; \
dpkg -i influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpgconf --kill all; \
rm -f "$GNUPGHOME" influxdb-meta_${INFLUXDB_VERSION}_${ARCH}.deb*; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*

ENV INFLUXDB_VERSION 1.8.2-c1.8.2
RUN wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_amd64.deb.asc && \
wget --no-verbose https://dl.influxdata.com/enterprise/releases/influxdb-meta_${INFLUXDB_VERSION}_amd64.deb && \
gpg --batch --verify influxdb-meta_${INFLUXDB_VERSION}_amd64.deb.asc influxdb-meta_${INFLUXDB_VERSION}_amd64.deb && \
dpkg -i influxdb-meta_${INFLUXDB_VERSION}_amd64.deb && \
rm -f influxdb-meta_${INFLUXDB_VERSION}_amd64.deb*
COPY influxdb-meta.conf /etc/influxdb/influxdb-meta.conf

EXPOSE 8091
Expand Down
44 changes: 33 additions & 11 deletions influxdb/nightly/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,41 @@
FROM buildpack-deps:jessie-curl
FROM debian:buster-slim

RUN set -ex && \
ENV INFLUXDB_VERSION nightly

RUN set -ex; \
fetchDeps=" \
ca-certificates \
gnupg \
dirmngr \
wget \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
ARCH= && dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
*) echo "Unsupported architecture: ${dpkgArch}"; exit 1;; \
esac; \
\
for key in \
05CE15085FC09D18E99EFB22684A14CF2582E0C5 ; \
do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ; \
done; \
\
wget --no-verbose https://dl.influxdata.com/influxdb/nightlies/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc; \
wget --no-verbose https://dl.influxdata.com/influxdb/nightlies/influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpg --batch --verify influxdb_${INFLUXDB_VERSION}_${ARCH}.deb.asc influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
dpkg -i influxdb_${INFLUXDB_VERSION}_${ARCH}.deb; \
gpgconf --kill all; \
rm -f "$GNUPGHOME" influxdb_${INFLUXDB_VERSION}_${ARCH}.deb*; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*

RUN wget --no-verbose https://dl.influxdata.com/influxdb/nightlies/influxdb_nightly_amd64.deb.asc && \
wget --no-verbose https://dl.influxdata.com/influxdb/nightlies/influxdb_nightly_amd64.deb && \
gpg --batch --verify influxdb_nightly_amd64.deb.asc influxdb_nightly_amd64.deb && \
dpkg -i influxdb_nightly_amd64.deb && \
rm -f influxdb_nightly_amd64.deb*
COPY influxdb.conf /etc/influxdb/influxdb.conf

EXPOSE 8083 8086
Expand Down