Fix failed to pull influxdb image from dockerhub (#957)
* Fix failed to pull influxdb image from dockerhub * Disable jvm test temporarily (issue 958)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Based on tutumcloud/influxdb source repository: https://github.com/tutumcloud/influxdb
|
||||
|
||||
FROM ubuntu:trusty
|
||||
MAINTAINER Ta-Ching Chen <contact@tachingchen.com>
|
||||
|
||||
RUN apt-get update && apt-get install -y curl && apt-get clean && rm -rf /var/lib/apt/lists
|
||||
|
||||
# Install InfluxDB
|
||||
ENV INFLUXDB_VERSION 1.6.4
|
||||
RUN curl -s -o /tmp/influxdb_latest_amd64.deb https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_amd64.deb && \
|
||||
dpkg -i /tmp/influxdb_latest_amd64.deb && \
|
||||
rm /tmp/influxdb_latest_amd64.deb && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ADD types.db /usr/share/collectd/types.db
|
||||
ADD config.toml /config/config.toml
|
||||
ADD run.sh /run.sh
|
||||
RUN chmod +x /*.sh
|
||||
|
||||
ENV PRE_CREATE_DB **None**
|
||||
ENV SSL_SUPPORT **False**
|
||||
ENV SSL_CERT **None**
|
||||
|
||||
# Admin server WebUI
|
||||
EXPOSE 8083
|
||||
|
||||
# HTTP API
|
||||
EXPOSE 8086
|
||||
|
||||
# Raft port (for clustering, don't expose publicly!)
|
||||
#EXPOSE 8090
|
||||
|
||||
# Protobuf port (for clustering, don't expose publicly!)
|
||||
#EXPOSE 8099
|
||||
|
||||
VOLUME ["/data"]
|
||||
|
||||
CMD ["/run.sh"]
|
||||
Reference in New Issue
Block a user