Skip to content

Commit c172f45

Browse files
committed
Install fpm in the dev docker image
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 7ce3517 commit c172f45

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2018- The Pixie Authors.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# SPDX-License-Identifier: Apache-2.0
16+
17+
# Packaging utilities only need to run on Linux
18+
if node.platform_family?('debian')
19+
apt_package ['ruby-dev', 'rpm'] do
20+
action :upgrade
21+
end
22+
23+
execute 'install_fpm' do
24+
command '/usr/bin/gem install fpm'
25+
action :run
26+
end
27+
end

tools/chef/cookbooks/px_dev/recipes/setup.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@
2929
include_recipe 'px_dev::nodejs'
3030
include_recipe 'px_dev::php'
3131
include_recipe 'px_dev::python'
32+
include_recipe 'px_dev::packaging'
3233

3334
include_recipe 'px_dev::arcanist'

0 commit comments

Comments
 (0)