Commit e16b8860 authored by mh's avatar mh
Browse files

another try to remove test deps from install

parent 9d5d5b19
Pipeline #4734 canceled with stages
in 1 minute and 49 seconds
......@@ -24,8 +24,7 @@ build_pkgs="rh-ruby26-ruby-devel openssl-devel gcc gcc-c++ bzip2 make"
# (reverse-dependencies up to systemd).
buildah run $image_id -- yum install -y $build_pkgs tar
buildah run --user $user $image_id -- bundle config set deployment 'true'
buildah run --user $user $image_id -- bundle config set without 'development'
buildah run --user $user $image_id -- bundle --jobs $(nproc)
buildah run --user $user $image_id -- bundle config set without 'development test'
buildah run --user $user $image_id -- bundle install --jobs $(nproc)
buildah run $image_id -- yum remove -y $build_pkgs
buildah run $image_id -- rm -rf /var/cache/* /var/log/yum.* /home/$user/.bundle/cache
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment