Images Ubuntu 16.04, optimization and reduce image size (#204)
This commit is contained in:
		
							parent
							
								
									7cccaa82d7
								
							
						
					
					
						commit
						48ff02839f
					
				| @ -1,4 +1,4 @@ | |||||||
| FROM ubuntu:14.04 | FROM ubuntu:16.04 | ||||||
| 
 | 
 | ||||||
| # Some ENV variables | # Some ENV variables | ||||||
| ENV PATH="/mattermost/bin:${PATH}" | ENV PATH="/mattermost/bin:${PATH}" | ||||||
| @ -9,10 +9,11 @@ ARG edition=entreprise | |||||||
| 
 | 
 | ||||||
| # Install some needed packages | # Install some needed packages | ||||||
| RUN apt-get update \ | RUN apt-get update \ | ||||||
|     && apt-get -y install \ |     && apt-get -y --no-install-recommends install \ | ||||||
|       curl \ |       curl \ | ||||||
|       jq \ |       jq \ | ||||||
|       netcat \ |       netcat \ | ||||||
|  |       ca-certificates \ | ||||||
|     && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin |     && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin | ||||||
| 
 | 
 | ||||||
| # Get Mattermost | # Get Mattermost | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 3_1_3_u
						3_1_3_u