mirror of https://github.com/sysown/proxysql
#375 Added debian packaging docker container
parent
181f51012e
commit
63a16c8107
@ -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 <iandrei@gmail.com>
|
||||
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
|
||||
@ -0,0 +1,32 @@
|
||||
### Commented entries have reasonable defaults.
|
||||
### Uncomment to edit them.
|
||||
# Source: <source package name; defaults to package name>
|
||||
Section: misc
|
||||
Priority: optional
|
||||
# Homepage: <enter URL here; no default>
|
||||
Standards-Version: 3.9.2
|
||||
|
||||
Package: proxysql
|
||||
Version: 0.3
|
||||
Maintainer: Rene Cannao <rene.cannao@gmail.com>
|
||||
# Pre-Depends: <comma-separated list of packages>
|
||||
# Depends: <comma-separated list of packages>
|
||||
# Recommends: <comma-separated list of packages>
|
||||
# Suggests: <comma-separated list of packages>
|
||||
# Provides: <comma-separated list of packages>
|
||||
# Replaces: <comma-separated list of packages>
|
||||
# Architecture: all
|
||||
# Copyright: <copyright file; defaults to GPL2>
|
||||
# Changelog: <changelog file; defaults to a generic changelog>
|
||||
# Readme: <README.Debian file; defaults to a generic one>
|
||||
# Extra-Files: <comma-separated list of additional files for the doc directory>
|
||||
Files: proxysql /opt/proxysql
|
||||
proxysql.cfg /etc
|
||||
# <more pairs, if there's more than one file to include. Notice the starting space>
|
||||
Description: High performance MySQL proxy
|
||||
long description and info
|
||||
.
|
||||
second paragraph
|
||||
File: postinst
|
||||
#!/bin/sh -e
|
||||
mkdir -p /var/run/proxysql
|
||||
Loading…
Reference in new issue