Skip to content

[BUG] SOF docker image has proxy settings hardcoded for Intel network #3831

Closed

Description

@kv2019i

Describe the bug
The current SOF docker images have a hardcoded proxy set to Intel servers:
https://thesofproject.github.io/latest/getting_started/build-guide/build-with-docker.html

While testing the instructions from public network, scripts/docker-run.sh builds will fail due to this.

** Mitigation **
Modify scripts/docker-run.sh with

+     --env http_proxy \
+     --env https_proxy \
     --env CMAKE_BUILD_TYPE \
```

Activity

  1. added
    bugSomething isn't working as expected
    on Feb 9, 2021
  2. added this to the v1.7 milestone on Feb 9, 2021
  3. self-assigned this
    on Feb 26, 2021
  4. lgirdwood commented on May 10, 2021

    @lgirdwood
    Member

    @fredoh9 this is now fixed right ? if so please close.

  5. modified the milestones: v1.7, v1.8 on May 10, 2021
  6. marc-hb commented on May 10, 2021

    @marc-hb
    Collaborator

    I think it is not fixed because we still have commit f6f3ab0 copy apt.conf from host and set host proxy to environment

    We could probably keep the image proxy-free and move any proxy configuration to scripts/docker-run.sh, more specifically docker run --env

  7. fredoh9 commented on May 11, 2021

    @fredoh9
    Contributor

    @lgirdwood this is not fixed. @marc-hb I agree, we need to keep proxy-free for the docker image and set proxy when needed. I will work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions