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

[docker-base]: Add less into docker-base. Add strace in docker_base_dbg. Add configuration for vim #591

Merged
merged 2 commits into from
May 12, 2017

Conversation

pavel-shirshov
Copy link
Contributor

No description provided.

@@ -25,12 +25,14 @@ RUN apt-get clean && apt-get update
RUN apt-get -y install \
rsyslog \
supervisor \
vim-tiny \
vim \
Copy link
Collaborator

@qiluo-msft qiluo-msft May 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.5M400k vs 28M, do you have some strong requirement for a complete vim?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are installing N 200MB dockers anyway :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the help of layer reuse and docker squash (https://docs.docker.com/engine/reference/commandline/build/), the total disk size of the docker images and containers in a production switches is about 570M. Currently we are still deploying images for small disk switches.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it 2M or 28M?

Copy link
Collaborator

@qiluo-msft qiluo-msft May 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The largest component for vim is vim-runtime 25.5M: https://packages.debian.org/jessie/vim-runtime. The total size of vim packages is ~28M.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given the smallest disk we have to deal with is still 1.5GB, i recommend to keep vim in the debug build.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep vim.tiny for docker-base. But put .vimrc and make link from vim.tiny to vim.

@pavel-shirshov pavel-shirshov changed the title [docker-base]: Add less and vim in docker-base. Add strace in docker_base_dbg [docker-base]: Add less into docker-base. Add strace in docker_base_dbg. Add configuration for vim May 11, 2017
@stcheng stcheng merged commit b26ec86 into sonic-net:master May 12, 2017
lguohan pushed a commit that referenced this pull request Sep 5, 2019
Submodule src/sonic-utilities 4024019:

[doc/command-reference.md] dos2unix & remove trailing spaces (#591)
[show] Add BGP neighbor info to 'show ip/ipv6 interfaces' command output (#598)
[config]: fix the runtime error of the 'show line' command (#595) (#596)
Revert "Removed 'show interfaces alias'. (#412)" (#603)
[debug][undebug] Rework of CLI for BGP (#583)
Changing "show runningconfiguration interface" to "show runningconfiguration ports" (#600)
[config] Add commands to add/remove DHCP server address from a VLAN (#585)
[neighbor_advertiser] Use full vlan name for vxlan tunnel map programming (#604)
[neighbor_advertise]: Use the existing MIRROR ACL table (#605)
Read config DB for running interface(s) and display per port/interface (#594)
[fast/warm reboot] kill radv docker before stopping BGP (#608)
[config] Add commands for adding/removing syslog servers (#609)
[config] Call 'systemctl reset-failed' before 'systemctl restart' when restarting services (#607)
[Command Reference] Add config commands for DHCP relay destination address (#610)
[config] Add commands for adding/removing NTP servers (#611)
[neighbor_advertiser]: Add V6 support to mirror ICMPV6 packets (#612)
[neighbor advertiser] try getting vlan addresses from o.s first (#613)
[show] Add command 'show runningconfiguration syslog' (#617)
[show] Add command 'show runningconfig ntp' (#620)
Added check to config syslog del to verify if ip address was configured. (#622)
[fast-reboot] Check if ASIC config has changed before warm reboot (#621)

Signed-off-by: Danny Allen [email protected]
sridhar-ravindran pushed a commit to sridhar-ravindran/sonic-buildimage that referenced this pull request Sep 6, 2019
Submodule src/sonic-utilities 4024019:

[doc/command-reference.md] dos2unix & remove trailing spaces (sonic-net#591)
[show] Add BGP neighbor info to 'show ip/ipv6 interfaces' command output (sonic-net#598)
[config]: fix the runtime error of the 'show line' command (sonic-net#595) (sonic-net#596)
Revert "Removed 'show interfaces alias'. (sonic-net#412)" (sonic-net#603)
[debug][undebug] Rework of CLI for BGP (sonic-net#583)
Changing "show runningconfiguration interface" to "show runningconfiguration ports" (sonic-net#600)
[config] Add commands to add/remove DHCP server address from a VLAN (sonic-net#585)
[neighbor_advertiser] Use full vlan name for vxlan tunnel map programming (sonic-net#604)
[neighbor_advertise]: Use the existing MIRROR ACL table (sonic-net#605)
Read config DB for running interface(s) and display per port/interface (sonic-net#594)
[fast/warm reboot] kill radv docker before stopping BGP (sonic-net#608)
[config] Add commands for adding/removing syslog servers (sonic-net#609)
[config] Call 'systemctl reset-failed' before 'systemctl restart' when restarting services (sonic-net#607)
[Command Reference] Add config commands for DHCP relay destination address (sonic-net#610)
[config] Add commands for adding/removing NTP servers (sonic-net#611)
[neighbor_advertiser]: Add V6 support to mirror ICMPV6 packets (sonic-net#612)
[neighbor advertiser] try getting vlan addresses from o.s first (sonic-net#613)
[show] Add command 'show runningconfiguration syslog' (sonic-net#617)
[show] Add command 'show runningconfig ntp' (sonic-net#620)
Added check to config syslog del to verify if ip address was configured. (sonic-net#622)
[fast-reboot] Check if ASIC config has changed before warm reboot (sonic-net#621)

Signed-off-by: Danny Allen [email protected]
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this pull request Mar 23, 2020
* Remove useless initialization of m_port_ready_list_ref
lguohan added a commit to lguohan/sonic-buildimage that referenced this pull request Apr 12, 2020
* f972073 2020-04-12 | [vs]: set mtu only on the physical port (sonic-net#601) (HEAD, origin/master, origin/HEAD) [lguohan]
* e566f7a 2020-04-10 | [saiplayer] Convert saiplayer to static library (sonic-net#600) [Kamil Cudnik]
* fc3a413 2020-04-09 | [syncd] Convert syncd_request_shutdown to static library (sonic-net#599) [Kamil Cudnik]
* 027de8f 2020-04-09 | Do not translateVidToRid for processBulkQuadEvent in InitViewMode (sonic-net#598) [Qi Luo]
* b0ee63d 2020-04-08 | [syncd] [vs] [sairedis] Add support for bulk api in init view (sonic-net#591) [Kamil Cudnik]
* 48ef314 2020-04-08 | [sairedis] Add pragma once to lib header (sonic-net#597) [Kamil Cudnik]
* 74af900 2020-04-08 | [build]: allow to use extra inc/lib location to build the package (sonic-net#595) [lguohan]
* 9b8c63e 2020-04-07 | Update README.txt: add LGTM badges (sonic-net#596) [Qi Luo]
* fdd79e6 2020-04-07 | [tests] Update lib order (sonic-net#594) [Kamil Cudnik]
* d89eb59 2020-04-07 | [syncd] Change order of libs in Makefile.am (sonic-net#593) [Kamil Cudnik]

Signed-off-by: Guohan Lu <[email protected]>
lguohan added a commit that referenced this pull request Apr 13, 2020
* f972073 2020-04-12 | [vs]: set mtu only on the physical port (#601) (HEAD, origin/master, origin/HEAD) [lguohan]
* e566f7a 2020-04-10 | [saiplayer] Convert saiplayer to static library (#600) [Kamil Cudnik]
* fc3a413 2020-04-09 | [syncd] Convert syncd_request_shutdown to static library (#599) [Kamil Cudnik]
* 027de8f 2020-04-09 | Do not translateVidToRid for processBulkQuadEvent in InitViewMode (#598) [Qi Luo]
* b0ee63d 2020-04-08 | [syncd] [vs] [sairedis] Add support for bulk api in init view (#591) [Kamil Cudnik]
* 48ef314 2020-04-08 | [sairedis] Add pragma once to lib header (#597) [Kamil Cudnik]
* 74af900 2020-04-08 | [build]: allow to use extra inc/lib location to build the package (#595) [lguohan]
* 9b8c63e 2020-04-07 | Update README.txt: add LGTM badges (#596) [Qi Luo]
* fdd79e6 2020-04-07 | [tests] Update lib order (#594) [Kamil Cudnik]
* d89eb59 2020-04-07 | [syncd] Change order of libs in Makefile.am (#593) [Kamil Cudnik]

Signed-off-by: Guohan Lu <[email protected]>
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
…net#591)

* [syncd] [vs] [sairedis] Add support for bulk api in init view

* Fix spelling
qiluo-msft pushed a commit that referenced this pull request Apr 2, 2022
…10406)

#### Why I did it
To take the following into sonic-buildimage
36e1f61 API endpoints to ConfigDBConnector to support pre-loading data without blackout (#587)

[sonic-swss-common](https://github.com/Azure/sonic-swss-common)
```
36e1f61 API endpoints to ConfigDBConnector to support pre-loading data without blackout (#587)
556f4ad Add SAI copy action to ACL schema (#591)
db18c3a Fix bitwidth of mac address in SAI ACL schema (#590)
e9442bb [ConfigDBPipeConnector]: Added set_entry API (#586)
6c007c0 Update README for gmock (#562)
```

[sonic-linkmgrd](https://github.com/Azure/sonic-linkmgrd)
```
83dfc99 Enforce uniform file/class naming convention (#52)
83004bf Shutdown ICMP heartbeats when default route state is missing and ToR is in `auto` mode (#44)
b81ea31 Add `LinkProberStateMachineActiveActive`  (#47)
c43cf7a Decrease link probing interval after switchover to better determine the overhead of a toggle (#43)
2239fbe Enhance clang format (#46)
```
#### How I did it
* Advanced submodules pointers

#### How to verify it
1. make configure PLATFORM=mellanox
2. make target/sonic-mellanox.bin
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.

5 participants