You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			12 lines
		
	
	
		
			288 B
		
	
	
	
		
			Docker
		
	
			
		
		
	
	
			12 lines
		
	
	
		
			288 B
		
	
	
	
		
			Docker
		
	
FROM golang:latest AS builder
 | 
						|
ADD . /opt/obp
 | 
						|
WORKDIR /opt/obp
 | 
						|
# RUN go build -o baas cmd/main.go
 | 
						|
RUN make build-alpine
 | 
						|
 | 
						|
FROM alpine:latest
 | 
						|
RUN apk --no-cache add ca-certificates
 | 
						|
ARG VERSION=*
 | 
						|
COPY --from=builder /opt/obp/dist/obp-$VERSION-alpine_amda64/obp /bin/obp
 | 
						|
RUN chmod +x /bin/obp
 |