Merge pull request #11520 from influxdata/chore/docker-image

chore(docker): Include ca-certificates
pull/11700/head
ABond 2019-02-06 12:37:39 -05:00 committed by GitHub
commit c67ab7faad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 5 deletions

View File

@ -1,13 +1,19 @@
FROM debian:stable-slim
COPY influxd /usr/bin/influxd
COPY influx /usr/bin/influx
COPY influx influxd /usr/bin/
EXPOSE 9999
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND noninteractive
COPY docker/influxd/entrypoint.sh /entrypoint.sh
RUN apt-get update \
&& apt-get install -y \
ca-certificates \
tzdata \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}
ENTRYPOINT ["/entrypoint.sh"]
CMD ["influxd"]