diff --git a/scenarios/ubuntu-14.04-build/Dockerfile b/scenarios/ubuntu-14.04-build/Dockerfile new file mode 100644 index 000000000..804d8b74d --- /dev/null +++ b/scenarios/ubuntu-14.04-build/Dockerfile @@ -0,0 +1,23 @@ +# We're using Ubuntu 14:04 because ProxySQL compilation needs one of the latest +# g++ compilers. Also, it's a long term release. +FROM ubuntu:14.04 +MAINTAINER Andrei Ismail +RUN apt-get update && apt-get install -y\ + automake\ + cmake\ + equivs\ + make\ + g++\ + gcc\ + gdb\ + gdbserver\ + git\ + libmysqlclient-dev\ + libssl-dev\ + libtool + +RUN cd /opt; git clone https://github.com/sysown/proxysql-0.2.git proxysql +RUN cd /opt/proxysql; make clean && make + +ADD ./proxysql.ctl /opt/proxysql/src/proxysql.ctl +RUN cd /opt/proxysql/src; equivs-build proxysql.ctl \ No newline at end of file diff --git a/scenarios/ubuntu-14.04-build/proxysql.ctl b/scenarios/ubuntu-14.04-build/proxysql.ctl new file mode 100644 index 000000000..a536ee9c4 --- /dev/null +++ b/scenarios/ubuntu-14.04-build/proxysql.ctl @@ -0,0 +1,32 @@ +### Commented entries have reasonable defaults. +### Uncomment to edit them. +# Source: +Section: misc +Priority: optional +# Homepage: +Standards-Version: 3.9.2 + +Package: proxysql +Version: 0.3 +Maintainer: Rene Cannao +# Pre-Depends: +# Depends: +# Recommends: +# Suggests: +# Provides: +# Replaces: +# Architecture: all +# Copyright: +# Changelog: +# Readme: +# Extra-Files: +Files: proxysql /opt/proxysql + proxysql.cfg /etc +# +Description: High performance MySQL proxy + long description and info + . + second paragraph +File: postinst + #!/bin/sh -e + mkdir -p /var/run/proxysql \ No newline at end of file