Skip to content

Commit

Permalink
Merge pull request #6361 from dolthub/db/fix-ci
Browse files Browse the repository at this point in the history
/go/performance/continuous_integration/SysbenchDockerfile: change distro from buster to bullseye
  • Loading branch information
coffeegoddd authored Jul 18, 2023
2 parents 0910b1d + 7188cdd commit 1901dfe
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions go/performance/continuous_integration/SysbenchDockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
FROM golang:1.19-buster
FROM --platform=linux/amd64 golang:1.19-bullseye

ENV DEBIAN_FRONTEND=noninteractive

# Get sysbench installed
RUN apt update
RUN apt install -y curl
RUN curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh | bash
RUN apt -y install sysbench

# Install sysbench deps
RUN apt update -y && apt install -y \
automake \
libtool \
pkg-config \
libaio-dev \
default-libmysqlclient-dev \
libssl-dev

# Build sysbench from source
RUN git clone https://github.com/akopytov/sysbench.git && \
cd sysbench && \
git checkout -b 1.0.20 tags/1.0.20 && \
./autogen.sh && \
./configure && \
make -j && \
make install

# Install sqlite3 from source
RUN \
Expand Down

0 comments on commit 1901dfe

Please sign in to comment.