Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Error parsing proxy during fpga-opae docker image build #33

Open
skorup101 opened this issue Jul 2, 2021 · 0 comments
Open

Error parsing proxy during fpga-opae docker image build #33

skorup101 opened this issue Jul 2, 2021 · 0 comments

Comments

@skorup101
Copy link

Issue

Cannot build docker image for fpga-opae.
It originally happened during installation of OpenNESS. See: https://github.com/open-ness/converged-edge-experience-kits/blob/master/roles/kubernetes/opae_fpga/node/tasks/main.yml#L42

How to reproduce

It happened during ansible OpenNESS installation, but it can be reproduced more easly at https://github.com/open-ness/edgeservices repo level.

  1. Clone this repo.
  2. Run make fpga-opae.
$ make fpga-opae
...
Step 25/30 : RUN echo "proxy=$http_proxy/" | sudo tee -a /etc/yum.conf
 ---> Running in 24c68f8e724f
proxy=/
Removing intermediate container 24c68f8e724f
 ---> 79bcd801af6f
Step 26/30 : RUN sudo yum clean expire-cache
 ---> Running in 4c1c3d2f758c
Loaded plugins: fastestmirror, ovl
Options error: Error parsing "proxy = '/'": URL must be http, ftp, https, socks4, socks4a, socks5 or socks5h not ""
The command '/bin/sh -c sudo yum clean expire-cache' returned a non-zero code: 1
make: *** [fpga-opae] Error 1

Possible solution

Check if http_proxy variable exists in the Dockerfile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant