Commit 6c0e69ec authored by Daniel Seybold's avatar Daniel Seybold

upgraded golang to 1.12 and fixed dockerfile

parent 9449091e
Pipeline #51504 passed with stage
in 14 minutes and 32 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 golang-go -y && \
RUN apt-get update -y && apt-get install git curl gettext unzip wget software-properties-common python python-software-properties dnsutils make maven -y && \
apt-get upgrade -y
## add more packages, if necessary
# install Java8
......@@ -57,18 +57,16 @@ RUN chmod +x loadgen.sh
###### TSBS by Timescale ######
# install go
RUN add-apt-repository ppa:longsleep/golang-backports -y
RUN apt-get update
RUN apt-get install golang-go -y
# build TSBS
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 ./...
RUN go get github.com/timescale/tsbs/...
# telegraf monitoring
RUN mkdir /opt/telegraf ; cd /opt/telegraf ; wget https://dl.influxdata.com/telegraf/releases/telegraf_1.7.0-1_amd64.deb
......
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