Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build targets for distro packages #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker/build/build-centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN yum update -y && \

# fpm packaging
RUN yum install -y ruby rubygems ruby-devel && \
gem install --no-ri --no-rdoc dotenv -v '2.8.1' && \
gem install --no-ri --no-rdoc ffi -v '1.9.14' && \
gem install --no-ri --no-rdoc git -v '1.6' && \
gem install --no-ri --no-rdoc fpm -v '1.11.0'
gem install --no-ri --no-rdoc fpm -v '1.12.0'
7 changes: 5 additions & 2 deletions docker/build/build-centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ RUN yum update -y && \
wget -q -O /usr/include/mysql/hash.h https://raw.githubusercontent.com/mysql/mysql-server/5.7/include/hash.h

# fpm packaging
RUN dnf module -y enable ruby:3.0
RUN yum install -y ruby rubygems ruby-devel && \
gem install ffi && \
gem install fpm
gem install --no-document dotenv -v '2.8.1' && \
gem install --no-document rexml -v '3.2.6' && \
gem install --no-document ffi -v '1.9.14' && \
gem install --no-document fpm -v '1.12.0'
5 changes: 3 additions & 2 deletions docker/build/build-debian10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ RUN apt-get -y update && \

# fpm packaging
RUN apt-get -y install ruby ruby-dev && \
gem install ffi && \
gem install fpm
gem install --no-ri --no-rdoc dotenv -v '2.8.1' && \
gem install --no-ri --no-rdoc ffi -v '1.9.14' && \
gem install --no-ri --no-rdoc fpm -v '1.12.0'
5 changes: 3 additions & 2 deletions docker/build/build-debian11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ RUN apt-get -y update && \

# fpm packaging
RUN apt-get -y install ruby ruby-dev && \
gem install ffi && \
gem install fpm
gem install --no-document dotenv -v '2.8.1' && \
gem install --no-document ffi -v '1.9.14' && \
gem install --no-document fpm -v '1.12.0'
5 changes: 3 additions & 2 deletions docker/build/build-debian9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ RUN apt-get -y update && \

# fpm packaging
RUN apt-get -y install ruby ruby-dev && \
gem install ffi && \
gem install fpm
gem install --no-ri --no-rdoc dotenv -v '2.8.1' && \
gem install --no-ri --no-rdoc ffi -v '1.9.14' && \
gem install --no-ri --no-rdoc fpm -v '1.12.0'
10 changes: 7 additions & 3 deletions docker/build/build-ubuntu16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ MAINTAINER Miro Stauder <miro@proxysql.com>
# set git safe dir
RUN git config --system --add safe.directory /opt/

# fpm packaging
# build dependencies
RUN apt-get -y update && \
apt-get -y install ruby ruby-dev && \
apt-get -y install libboost-all-dev

# fpm packaging
RUN apt-get -y install ruby ruby-dev && \
gem install --no-ri --no-rdoc dotenv -v '2.8.1' && \
gem install --no-ri --no-rdoc ffi -v '1.9.14' && \
gem install --no-ri --no-rdoc fpm -v '1.11.0'
gem install --no-ri --no-rdoc fpm -v '1.12.0'
12 changes: 8 additions & 4 deletions docker/build/build-ubuntu18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ MAINTAINER Miro Stauder <miro@proxysql.com>
# set git safe dir
RUN git config --system --add safe.directory /opt/

# fpm packaging
# build dependencies
RUN apt-get -y update && \
apt-get -y install ruby ruby-dev && \
gem install ffi && \
gem install fpm
apt-get -y install libboost-all-dev

# fpm packaging
RUN apt-get -y install ruby ruby-dev && \
gem install --no-ri --no-rdoc dotenv -v '2.8.1' && \
gem install --no-ri --no-rdoc ffi -v '1.9.14' && \
gem install --no-ri --no-rdoc fpm -v '1.12.0'
5 changes: 3 additions & 2 deletions docker/build/build-ubuntu20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ RUN apt-get -y update && \

# fpm packaging
RUN apt-get -y install ruby ruby-dev && \
gem install ffi && \
gem install fpm
gem install --no-document dotenv -v '2.8.1' && \
gem install --no-document ffi -v '1.9.14' && \
gem install --no-document fpm -v '1.12.0'