代码拉取完成,页面将自动刷新
influx
CLI code, remove it from build (#21797)
FROM ubuntu:20.04 AS dbuild
ENV DEBIAN_FRONTEND noninteractive
# Needed for Yarn steps to veryify the keys
RUN apt update
RUN apt install --yes curl gnupg2
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
# Now update index with Yarn
RUN apt update
RUN apt install --yes \
cargo \
git \
golang \
libclang-dev \
llvm-dev \
make \
nodejs \
protobuf-compiler \
ragel \
rustc \
yarn
FROM dbuild AS dshell
ARG USERID=1000
RUN adduser --quiet --home /code --uid ${USERID} --disabled-password --gecos "" influx
USER influx
ENTRYPOINT [ "/bin/bash" ]
FROM dbuild AS dbuild-all
COPY . /code
WORKDIR /code
RUN make
##
# InfluxDB Image (Monolith)
##
FROM debian:stretch-slim AS influx
COPY --from=dbuild-all /code/bin/linux/influxd /usr/bin/influxd
EXPOSE 8086
ENTRYPOINT [ "/usr/bin/influxd" ]
##
# InfluxDB UI Image
##
FROM nginx:alpine AS ui
EXPOSE 80
COPY --from=dbuild-all /code/ui/build /usr/share/nginx/html
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。