2015-04-27 17:13:07 +00:00
|
|
|
# initialize from the image
|
|
|
|
|
2015-09-07 20:35:02 +00:00
|
|
|
FROM fedora:22
|
2015-04-27 17:13:07 +00:00
|
|
|
|
|
|
|
# update package repositories
|
|
|
|
|
2015-09-07 20:35:02 +00:00
|
|
|
RUN dnf update -y
|
2015-04-27 17:13:07 +00:00
|
|
|
|
|
|
|
# install tools
|
|
|
|
|
2015-09-07 20:35:02 +00:00
|
|
|
RUN dnf install -y cmake make wget
|
|
|
|
RUN dnf install -y gcc gcc-c++ git make patchutils pkgconfig wget
|
2015-04-27 17:13:07 +00:00
|
|
|
|
|
|
|
# install dependencies for Linux packaging
|
|
|
|
|
2015-09-07 20:35:02 +00:00
|
|
|
RUN dnf install -y ruby-devel rubygems rpm-build
|
2015-04-27 17:13:07 +00:00
|
|
|
RUN gem install fpm --no-document
|