Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce docker images size. #196

Merged
merged 2 commits into from
Jan 19, 2017
Merged

Reduce docker images size. #196

merged 2 commits into from
Jan 19, 2017

Conversation

oleksandrivantsiv
Copy link
Collaborator

@oleksandrivantsiv oleksandrivantsiv commented Jan 19, 2017

Copy to docker images only required dependencies.

Install only required dependencies.
@oleksandrivantsiv
Copy link
Collaborator Author

oleksandrivantsiv commented Jan 19, 2017

Images size with all target/deps directory copied:

docker-syncd-mlnx                  502.1 MB
docker-snmp-sv2                    442.1 MB
docker-lldp-sv2                    446.1 MB
docker-orchagent-mlnx              322.7 MB
docker-fpm                         325.5 MB
docker-database                    316.1 MB

Only required packages:

docker-syncd-mlnx                  468.4 MB
docker-snmp-sv2                    356.1 MB
docker-lldp-sv2                    360 MB
docker-orchagent-mlnx              233 MB
docker-fpm                         237.7 MB
docker-teamd                       228.7 MB
docker-database                    226.1 MB

@pavel-shirshov pavel-shirshov merged commit 80d0d2d into sonic-net:master Jan 19, 2017
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
* Get Vlan Id from ASIC_STATE Vlan Object if bvid present
monaliusa pushed a commit to monaliusa/sonic-buildimage that referenced this pull request Aug 7, 2020
…e2bd_get_event_change

[device/celestica]: Add support for fan/voltage event to questone2bd get_change_event api
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
xumia pushed a commit to xumia/sonic-buildimage-1 that referenced this pull request Feb 16, 2021
…hon 2 for 201911 branch (sonic-net#196)

Something changed recently which caused the sonic-utilities 201911 PR build to fail to install the `mock` package from PyPI implicitly. Here, we install version 3.0.5 (the latest version available for Python 2) of the package explicitly before building the sonic-utilities package.

Also, explicitly call `pip2` and `python2` instead of `pip` and `python` just to ensure the proper versions are used.
qiluo-msft pushed a commit that referenced this pull request Feb 23, 2021
183162f Fix issue: expect redis pubsub data to be str type instead of bytes type (#196)

#### Why I did it

Update submodule pointer for snmpagent to include PR sonic-net/sonic-snmpagent#196 

#### How I did it

Update submodule pointer for snmpagent

#### How to verify it

Run build
qiluo-msft pushed a commit that referenced this pull request Mar 3, 2021
183162f Fix issue: expect redis pubsub data to be str type instead of bytes type (#196)

#### Why I did it

Update submoduel for snmpagent for 202012 branch since there is not 202012 branch for snmpagent

#### How I did it

Update submodule pointer

#### How to verify it

Run build
daall added a commit to daall/sonic-buildimage that referenced this pull request Mar 10, 2021
- Unset CONFIG_THERMAL_STATISTICS to prevent kernel crash (sonic-net#199)
- [dni_dps460] Add attributes to retrieve PMBus status command codes (sonic-net#197)
- [mellanox]: Backport new kernel patches (sonic-net#195)
- [ci]: build amd64/armhf/arm64 for CI build (sonic-net#196)
- Fix read and write failure to ‘fan1_target’ attribute of ‘dni_dps460’ driver. (sonic-net#183)

Signed-off-by: Danny Allen <daall@microsoft.com>
liat-grozovik pushed a commit that referenced this pull request Mar 11, 2021
- Unset CONFIG_THERMAL_STATISTICS to prevent kernel crash (#199)
- [dni_dps460] Add attributes to retrieve PMBus status command codes (#197)
- [mellanox]: Backport new kernel patches (#195)
- [ci]: build amd64/armhf/arm64 for CI build (#196)
- Fix read and write failure to ‘fan1_target’ attribute of ‘dni_dps460’ driver. (#183)

Signed-off-by: Danny Allen <daall@microsoft.com>
jleveque pushed a commit that referenced this pull request Jun 18, 2021
7670b49 [sonic_platform/sfp_base] Add common definition for get SFP error status (#194)
1336598 [CI] sonic-config-engine now depends on SONiC YANG packages (#198)
f57fee4 Add to check pcie configuration revision to get the right configuration. (#195)
4e3a0a0 Fix typo for midplane APIs. (#196)
fc2e9e2 [eeprom_tlv_info] Optimize EEPROM data process by using visitor pattern (#193)
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
183162f Fix issue: expect redis pubsub data to be str type instead of bytes type (sonic-net#196)

#### Why I did it

Update submodule pointer for snmpagent to include PR sonic-net/sonic-snmpagent#196 

#### How I did it

Update submodule pointer for snmpagent

#### How to verify it

Run build
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
7670b49 [sonic_platform/sfp_base] Add common definition for get SFP error status (sonic-net#194)
1336598 [CI] sonic-config-engine now depends on SONiC YANG packages (sonic-net#198)
f57fee4 Add to check pcie configuration revision to get the right configuration. (sonic-net#195)
4e3a0a0 Fix typo for midplane APIs. (sonic-net#196)
fc2e9e2 [eeprom_tlv_info] Optimize EEPROM data process by using visitor pattern (sonic-net#193)
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jan 24, 2022
Signed-off-by: pettershao-ragilenetworks <pettershao@ragilenetworks.com>
SuvarnaMeenakshi pushed a commit to SuvarnaMeenakshi/sonic-buildimage that referenced this pull request Mar 16, 2022
…ype (sonic-net#196)

**- What I did**

Change redis pubsub expect data type from bytes to str. There was a snmpagent framework change which transfer redis pubsub data from bytes to str, after that change, there is no need for non-framework code to do this transfer. So now we need handle str data directly.

**- How I did it**

Change data expectation from bytes to str

**- How to verify it**

Run regression and manual test
sg893052 pushed a commit to sg893052/sonic-buildimage that referenced this pull request Apr 25, 2022
snider-nokia pushed a commit to snider-nokia/sonic-buildimage that referenced this pull request Apr 6, 2023
In midplane API, default method should be raise NotImplementedError not return NotImplementedError
vivekrnv pushed a commit to vivekrnv/sonic-buildimage that referenced this pull request Apr 28, 2023
Signed-off-by: Guohan Lu <lguohan@gmail.com>
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants