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

[dockers]: use docker --squash to build dockers #273

Merged
merged 1 commit into from
Feb 7, 2017

Conversation

lguohan
Copy link
Collaborator

@lguohan lguohan commented Feb 7, 2017

No description provided.

@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2017

squash all command in one dockerfile into one layer

admin@CCPSCH01026DDLF:~$ docker images
REPOSITORY                TAG                 IMAGE ID            CREATED             SIZE
docker-snmp-sv2           latest              802ae9693b55        38 minutes ago      365 MB
docker-fpm                latest              38b02aca042d        38 minutes ago      271.5 MB
docker-orchagent-brcm     latest              3808f89a4be3        38 minutes ago      269.2 MB
docker-teamd              latest              8c028adfd2ea        39 minutes ago      265.2 MB
docker-syncd-brcm         latest              b9d94c4e0c43        40 minutes ago      281.9 MB
docker-lldp-sv2           latest              8819eae3fef7        41 minutes ago      269.3 MB
docker-dhcp-relay         latest              9967acde9cc4        43 minutes ago      263.3 MB
docker-platform-monitor   latest              c4ec1100629d        43 minutes ago      285.7 MB
docker-database           latest              9b8bb9739063        45 minutes ago      215.6 MB
admin@CCPSCH01026DDLF:~$ docker history 802ae9693b55
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
802ae9693b55        38 minutes ago                                                      171.9 MB            merge sha256:d6832357c9bc6b662a5d77ffb83be73428b46bed15449c724489bf18fcc873be to sha256:feaff5b36003b857677767f547f4654523652c2bb926e682ab93b9f205c03d73
<missing>           38 minutes ago      /bin/sh -c #(nop)  ENTRYPOINT ["/bin/sh" "-c"   0 B                 
<missing>           38 minutes ago      /bin/sh -c #(nop)  EXPOSE 161/udp 162/udp       0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY file:a1648f2ee02f01ff5   0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY file:38c260b9a2fde0eb6   0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY multi:95d7d6539990f69b   0 B                 
<missing>           40 minutes ago      /bin/sh -c #(nop) COPY file:f88411786439e9974   0 B                 
<missing>           40 minutes ago      /bin/sh -c apt-get -y install build-essential   0 B                 
<missing>           45 minutes ago      /bin/sh -c rm -rf /debs                         0 B                 
<missing>           46 minutes ago      /bin/sh -c dpkg -i debs/libnl-3-200_3.2.27-1_   0 B                 
<missing>           47 minutes ago      /bin/sh -c apt-get install -y python-lxml pyt   0 B                 
<missing>           47 minutes ago      /bin/sh -c apt-get update && apt-get install    0 B                 
<missing>           48 minutes ago      /bin/sh -c #(nop)  ENV PYTHONOPTIMIZE=1         0 B                 
<missing>           48 minutes ago      /bin/sh -c #(nop) COPY dir:495418f07118dd2809   0 B                 
<missing>           49 minutes ago      /bin/sh -c #(nop) COPY multi:e227dc517c817d62   0 B                 
<missing>           50 minutes ago                                                      70.12 MB            merge sha256:bb3fa6f533e1fa24566c50d88113ed3c2eb39e300c3bf7c561144ed7c08e9ccf to sha256:e5599115b6a67e08278d176b05a3defb30e5564f5be6d73264ec560b484514a2
<missing>           50 minutes ago      /bin/sh -c apt-get clean -y; apt-get autoclea   0 B                 
<missing>           50 minutes ago      /bin/sh -c apt-get -y purge                     0 B                 
<missing>           50 minutes ago      /bin/sh -c #(nop) COPY file:f6413f486620dc358   0 B                 
<missing>           50 minutes ago      /bin/sh -c apt-get -y install                   0 B                 
<missing>           51 minutes ago      /bin/sh -c apt-get clean && apt-get update      0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:6a852d6413ddd0cb9   0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:5f7531c45c2284be8   0 B                 
<missing>           51 minutes ago      /bin/sh -c rm -rf                               0 B                 
<missing>           51 minutes ago      /bin/sh -c while [ -n "$(find /usr/share/doc    0 B                 
<missing>           51 minutes ago      /bin/sh -c find /usr/share/doc -depth \( -typ   0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop)  CMD ["/bin/bash"]            0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop) ADD file:89ecb642d662ee7edb   123 MB              
admin@CCPSCH01026DDLF:~$ docker history 38b02aca042d
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
38b02aca042d        39 minutes ago                                                      78.36 MB            merge sha256:59aaa1020e62043d5e0d926362701662691bd02258df32d657e8806701946874 to sha256:feaff5b36003b857677767f547f4654523652c2bb926e682ab93b9f205c03d73
<missing>           39 minutes ago      /bin/sh -c #(nop)  ENTRYPOINT ["/bin/sh" "-c"   0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY file:90fbabf241baf0453   0 B                 
<missing>           40 minutes ago      /bin/sh -c #(nop) COPY multi:1c88d2c6315fd87b   0 B                 
<missing>           40 minutes ago      /bin/sh -c #(nop) COPY multi:e8d161a25a5480b3   0 B                 
<missing>           41 minutes ago      /bin/sh -c rm -rf /debs                         0 B                 
<missing>           41 minutes ago      /bin/sh -c apt-get clean -y; apt-get autoclea   0 B                 
<missing>           42 minutes ago      /bin/sh -c dpkg -i debs/libnl-route-3-200_3.2   0 B                 
<missing>           42 minutes ago      /bin/sh -c #(nop) COPY multi:668579d3325f897d   0 B                 
<missing>           43 minutes ago      /bin/sh -c apt-get install -y python-lxml pyt   0 B                 
<missing>           44 minutes ago      /bin/sh -c apt-get install -y libdbus-1-3 lib   0 B                 
<missing>           44 minutes ago      /bin/sh -c apt-get update                       0 B                 
<missing>           50 minutes ago                                                      70.12 MB            merge sha256:bb3fa6f533e1fa24566c50d88113ed3c2eb39e300c3bf7c561144ed7c08e9ccf to sha256:e5599115b6a67e08278d176b05a3defb30e5564f5be6d73264ec560b484514a2
<missing>           50 minutes ago      /bin/sh -c apt-get clean -y; apt-get autoclea   0 B                 
<missing>           50 minutes ago      /bin/sh -c apt-get -y purge                     0 B                 
<missing>           50 minutes ago      /bin/sh -c #(nop) COPY file:f6413f486620dc358   0 B                 
<missing>           51 minutes ago      /bin/sh -c apt-get -y install                   0 B                 
<missing>           51 minutes ago      /bin/sh -c apt-get clean && apt-get update      0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:6a852d6413ddd0cb9   0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:5f7531c45c2284be8   0 B                 
<missing>           51 minutes ago      /bin/sh -c rm -rf                               0 B                 
<missing>           52 minutes ago      /bin/sh -c while [ -n "$(find /usr/share/doc    0 B                 
<missing>           52 minutes ago      /bin/sh -c find /usr/share/doc -depth \( -typ   0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop)  CMD ["/bin/bash"]            0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop) ADD file:89ecb642d662ee7edb   123 MB              

@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2017

thanks for @oleksandrivantsiv for the info

@lguohan lguohan merged commit a412fe1 into sonic-net:master Feb 7, 2017
@lguohan lguohan mentioned this pull request Feb 12, 2017
@stcheng
Copy link
Contributor

stcheng commented Mar 7, 2017

Fixed #124.

@lguohan lguohan deleted the squash2 branch November 6, 2017 04:37
stcheng pushed a commit to stcheng/sonic-buildimage that referenced this pull request Jul 19, 2019
swss:
[vxlanorch]: Allow ipv6 src ip for Vxlan tunnel creation (sonic-net#896)
[aclorch]: Allow DTEL drop actions in DTEL flow watchlist (sonic-net#915)
Fix typo in orchagent_restart_check from fasle to false. (sonic-net#923)
[sonic-swss]: Fix for FPM accept call failure in ARM arch (sonic-net#925)
Add retryCount option for orchagent_restart_check program. (sonic-net#833)
[vlan] Add pytest cases to validate nonexistent vlan behavior. (sonic-net#874)
[intfsorch] Wait for interface prior to prefix (sonic-net#796)
Set timer only when interval changes. Not in each firing of the timer. (sonic-net#945)
[test]: Fix set interface in configuration database (sonic-net#956)
[copporch]: Fix polymorphic type error (sonic-net#946)
[AclOrch]: Fix the acl mirror counter doubled by inactive mirror and active again (sonic-net#952)
[MirrorOrch]: Init the next hop ip with 0 instead of default constructor (sonic-net#953)
[portsorch]: Add reference count of port (sonic-net#962)
[mock_test]: Move mock tests into a separate folder to separate them from vs tests (sonic-net#950)
remove crm acl_counters when acl_table removed (sonic-net#918)
[aclorch]: Fix matching MIRROR_DSCP throws unnecessary errors (sonic-net#966)
[policerorch]: Fix return code comparison error (sonic-net#968)
[gitignore]: Add swss-dbg related files (sonic-net#967)
[vxlanmgrd]: Fix for vxlanmgrd cannot correctly work after config reload (sonic-net#934)
[vxlanorch]: Add extra info into NOTICE logs (sonic-net#891)
[test]: Add a neighbor entry with BCAST MAC and verify its ignored (sonic-net#955)
[copporch]: Fix copporch in DEL command (sonic-net#972)
[orchagent]: Fix crash during orchagent process exit (sonic-net#974)
[vnetorch]: Fix VNET orchagents order for warm-reboot flow (sonic-net#958)
[test]: Skip unstable test test_vnet_orch_1 (sonic-net#976)
[intfsorch]: Fix rif flex counter removal error (sonic-net#975)
Update tests README.md file
[aclorch]: Change CFG_ACL_TABLE_NAME to CFG_ACL_TABLE_TABLE_NAME (sonic-net#978)
[test]: Skip test_watermark.py::TestWatermark::test_lua_plugins (sonic-net#981)
[teamsyncd]: Add information for LAG membership changes (sonic-net#982)

common:
Add an assert to logger, which will log a message and abort. (sonic-net#286)
[test]: Add IpAddress::isZero() unit test (sonic-net#289)
do not abort when read timerfd return 0 and errno = 0 (sonic-net#291)
Add BGP_STATE_TABLE in stateDB (sonic-net#273)
[IpAddress]: add mcast scope on address and isFullMask method on prefix (sonic-net#285)
Add ignore Wshadow pragma to json.hpp (sonic-net#292)
[executor]: Fix Executor does not get correct priority saved in m_selectable (sonic-net#290)
[schema]: Remove duplicate STATE_MIRROR_SESSION_TABLE_NAME (sonic-net#294)
timerfd:read failure - Record in logs as error. (sonic-net#295)
[schema]: Change CFG_ACL_TABLE_NAME to CFG_ACL_TABLE_TABLE_NAME (sonic-net#296)
[schema]: Add PASS_THROUGH_ROUTE_TABLE to config and application db (sonic-net#297)

sairedis:
ARM32 bit fixes, for 64bit printf format specifier (sonic-net#468)
Reduce the timeout (GET_RESPONSE_TIMEOUT) from 6 minutes to 1 minute. (sonic-net#472)
Fixed config_syncd_barefoot function (sonic-net#474)
[syncd_init_common.sh] fix fast reboot backwards compatibility (sonic-net#480)
Add default bridge id for bridge port id of type PORT in virtual switch (sonic-net#473)
Fix a bug in parsing kernel argument of fast-reboot (sonic-net#482)
Add TimerWatchdog for monitoring long execution apis (sonic-net#469)
Add specific comparison logic for tunnel map (sonic-net#475)
[vslib] add ACL action capabilities support (sonic-net#481)
Per buffer pool watermark polling mode (sonic-net#485)
Add specific comparison logic for ACL counter (sonic-net#484)
Process flex counters requests in separate thread (sonic-net#483)
Make sairedis/syncd synchronous (sonic-net#476)
Fixed conditional operator. (sonic-net#487)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
lguohan pushed a commit that referenced this pull request Jul 20, 2019
swss:
[vxlanorch]: Allow ipv6 src ip for Vxlan tunnel creation (#896)
[aclorch]: Allow DTEL drop actions in DTEL flow watchlist (#915)
Fix typo in orchagent_restart_check from fasle to false. (#923)
[sonic-swss]: Fix for FPM accept call failure in ARM arch (#925)
Add retryCount option for orchagent_restart_check program. (#833)
[vlan] Add pytest cases to validate nonexistent vlan behavior. (#874)
[intfsorch] Wait for interface prior to prefix (#796)
Set timer only when interval changes. Not in each firing of the timer. (#945)
[test]: Fix set interface in configuration database (#956)
[copporch]: Fix polymorphic type error (#946)
[AclOrch]: Fix the acl mirror counter doubled by inactive mirror and active again (#952)
[MirrorOrch]: Init the next hop ip with 0 instead of default constructor (#953)
[portsorch]: Add reference count of port (#962)
[mock_test]: Move mock tests into a separate folder to separate them from vs tests (#950)
remove crm acl_counters when acl_table removed (#918)
[aclorch]: Fix matching MIRROR_DSCP throws unnecessary errors (#966)
[policerorch]: Fix return code comparison error (#968)
[gitignore]: Add swss-dbg related files (#967)
[vxlanmgrd]: Fix for vxlanmgrd cannot correctly work after config reload (#934)
[vxlanorch]: Add extra info into NOTICE logs (#891)
[test]: Add a neighbor entry with BCAST MAC and verify its ignored (#955)
[copporch]: Fix copporch in DEL command (#972)
[orchagent]: Fix crash during orchagent process exit (#974)
[vnetorch]: Fix VNET orchagents order for warm-reboot flow (#958)
[test]: Skip unstable test test_vnet_orch_1 (#976)
[intfsorch]: Fix rif flex counter removal error (#975)
Update tests README.md file
[aclorch]: Change CFG_ACL_TABLE_NAME to CFG_ACL_TABLE_TABLE_NAME (#978)
[test]: Skip test_watermark.py::TestWatermark::test_lua_plugins (#981)
[teamsyncd]: Add information for LAG membership changes (#982)

common:
Add an assert to logger, which will log a message and abort. (#286)
[test]: Add IpAddress::isZero() unit test (#289)
do not abort when read timerfd return 0 and errno = 0 (#291)
Add BGP_STATE_TABLE in stateDB (#273)
[IpAddress]: add mcast scope on address and isFullMask method on prefix (#285)
Add ignore Wshadow pragma to json.hpp (#292)
[executor]: Fix Executor does not get correct priority saved in m_selectable (#290)
[schema]: Remove duplicate STATE_MIRROR_SESSION_TABLE_NAME (#294)
timerfd:read failure - Record in logs as error. (#295)
[schema]: Change CFG_ACL_TABLE_NAME to CFG_ACL_TABLE_TABLE_NAME (#296)
[schema]: Add PASS_THROUGH_ROUTE_TABLE to config and application db (#297)

sairedis:
ARM32 bit fixes, for 64bit printf format specifier (#468)
Reduce the timeout (GET_RESPONSE_TIMEOUT) from 6 minutes to 1 minute. (#472)
Fixed config_syncd_barefoot function (#474)
[syncd_init_common.sh] fix fast reboot backwards compatibility (#480)
Add default bridge id for bridge port id of type PORT in virtual switch (#473)
Fix a bug in parsing kernel argument of fast-reboot (#482)
Add TimerWatchdog for monitoring long execution apis (#469)
Add specific comparison logic for tunnel map (#475)
[vslib] add ACL action capabilities support (#481)
Per buffer pool watermark polling mode (#485)
Add specific comparison logic for ACL counter (#484)
Process flex counters requests in separate thread (#483)
Make sairedis/syncd synchronous (#476)
Fixed conditional operator. (#487)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
Signed-off-by: Sihui Han <sihan@microsoft.com>
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
liat-grozovik pushed a commit that referenced this pull request Apr 8, 2022
Update sonic-platform-common submodule to pick up new commits:

cd623fa [202012] Backport Enhance ssd_generic with more error handling to avoid python crash (#273)
e9a4a81 [y_cable][Broadcom] update the BRCM y_cable driver to release 2.0 (#263)
qiluo-msft pushed a commit that referenced this pull request Nov 16, 2022
#### Why I did it

Update sonic-snmpagent ubmodule pointer to include the following:

* bf6cd4c Remove error logging on "failed in fdb_vlanmac" ([#272](sonic-net/sonic-snmpagent#272))
* 05f2a28 Remove LOGLEVEL DB since is no longer used ([#271](sonic-net/sonic-snmpagent#271))
* 06299e1 Don't cache the vlan-id if it is not valid from DB ([#273](sonic-net/sonic-snmpagent#273))
* 8a515f2 Install libyang to azure pipeline ([#268](sonic-net/sonic-snmpagent#268))

#### How I did it

Advance sonic-snmpagent pointer
richardyu-ms pushed a commit to richardyu-ms/sonic-buildimage that referenced this pull request Nov 18, 2022
#### Why I did it

Update sonic-snmpagent ubmodule pointer to include the following:

* bf6cd4c Remove error logging on "failed in fdb_vlanmac" ([sonic-net#272](sonic-net/sonic-snmpagent#272))
* 05f2a28 Remove LOGLEVEL DB since is no longer used ([sonic-net#271](sonic-net/sonic-snmpagent#271))
* 06299e1 Don't cache the vlan-id if it is not valid from DB ([sonic-net#273](sonic-net/sonic-snmpagent#273))
* 8a515f2 Install libyang to azure pipeline ([sonic-net#268](sonic-net/sonic-snmpagent#268))

#### How I did it

Advance sonic-snmpagent pointer
qiluo-msft added a commit that referenced this pull request Nov 18, 2022
#### Why I did it
Include below commits
```
00b4dc0 2022-11-14 | Remove error logging on "failed in fdb_vlanmac" (#272) [Qi Luo]
792afe8 2022-11-14 | Don't cache the vlan-id if it is not valid from DB (#273) [zhenggen-xu]
```
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.

None yet

2 participants