builder: support proxy in distros based on yum or dnf

proxy server must be specified in configuration file
of the package manager, /etc/yum.conf for yum or
/etc/dnf/dnf.conf for dnf

fixes #123

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes
2018-06-26 09:59:49 -05:00
parent ae5b40ab88
commit 52d015e283
6 changed files with 18 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
From fedora:27
@SET_PROXY@
RUN dnf -y update && dnf install -y git systemd pkgconfig gcc coreutils
# This will install the proper golang to build Kata components