Commit 9449091e authored by Daniel Seybold's avatar Daniel Seybold

added go and tsbs to dockerfile

parent c9fbf9b2
Pipeline #51503 failed with stage
in 9 minutes and 50 seconds
......@@ -2,7 +2,7 @@
FROM ubuntu:16.04
# install operating system packages
RUN apt-get update -y && apt-get install git curl gettext unzip wget software-properties-common python python-software-properties dnsutils make maven -y && \
RUN apt-get update -y && apt-get install git curl gettext unzip wget software-properties-common python python-software-properties dnsutils make maven golang-go -y && \
apt-get upgrade -y
## add more packages, if necessary
# install Java8
......@@ -50,11 +50,26 @@ RUN wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.
###### CockroachDB loadgen for TPC-C ######
# downlaod cockroachdb loadgen
RUN mkdir cd /opt/workloads/cockroach-loadgen/
RUN mkdir /opt/workloads/cockroach-loadgen/
RUN cd /opt/workloads/cockroach-loadgen
RUN wget https://edge-binaries.cockroachdb.com/cockroach/workload.LATEST -O loadgen.sh
RUN chmod +x loadgen.sh
###### TSBS by Timescale ######
RUN mkdir /opt/workloads/tsbs/
ENV GOPATH /opt/workloads/tsbs/
RUN cd /opt/workloads/tsbs/
RUN go get github.com/timescale/tsbs
RUN cd $GOPATH/src/github.com/timescale/tsbs/cmd
RUN go get ./...
RUN cd tsbs_generate_data && go install
RUN cd ../tsbs_generate_queries && go install
RUN cd ../tsbs_load_influx && go install
RUN cd ../tsbs_run_queries_influx && go install
RUN cd $GOPATH/src/github.com/timescale/tsbs/cmd
RUN go install ./...
# telegraf monitoring
RUN mkdir /opt/telegraf ; cd /opt/telegraf ; wget https://dl.influxdata.com/telegraf/releases/telegraf_1.7.0-1_amd64.deb
RUN wget https://omi-gitlab.e-technik.uni-ulm.de/cloudiator/catalogue-scripts/raw/master/scripts/monitoring/telegraf/telegraf.conf -O /opt/telegraf/telegraf.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment