mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	 04777121a0
			
		
	
	
		04777121a0
		
			
		
	
	
	
	
		
			
			The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-5788364 - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-5788364 Co-authored-by: snyk-bot <snyk-bot@snyk.io>
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Docker
		
	
	
	
	
	
| #  Copyright 2021 Collate
 | |
| #  Licensed under the Apache License, Version 2.0 (the "License");
 | |
| #  you may not use this file except in compliance with the License.
 | |
| #  You may obtain a copy of the License at
 | |
| #  http://www.apache.org/licenses/LICENSE-2.0
 | |
| #  Unless required by applicable law or agreed to in writing, software
 | |
| #  distributed under the License is distributed on an "AS IS" BASIS,
 | |
| #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
| #  See the License for the specific language governing permissions and
 | |
| #  limitations under the License.
 | |
| 
 | |
| # Build stage
 | |
| FROM alpine:3.16 AS build
 | |
| 
 | |
| COPY openmetadata-dist/target/openmetadata-*.tar.gz /
 | |
| 
 | |
| RUN mkdir -p /opt/openmetadata && \
 | |
|     tar zxvf openmetadata-*.tar.gz -C /opt/openmetadata --strip-components 1 && \
 | |
|     rm openmetadata-*.tar.gz
 | |
| 
 | |
| # Final stage
 | |
| FROM alpine:3.16
 | |
| 
 | |
| EXPOSE 8585
 | |
| 
 | |
| RUN apk add --update --no-cache bash openjdk11-jre
 | |
| 
 | |
| COPY --from=build /opt/openmetadata /opt/openmetadata
 | |
| COPY docker/openmetadata-start.sh /
 | |
| 
 | |
| RUN chmod 777 openmetadata-start.sh
 | |
| 
 | |
| WORKDIR /opt/openmetadata
 | |
| ENTRYPOINT [ "/bin/bash" ]
 | |
| CMD ["/openmetadata-start.sh"] |