Use mirrorred images in Dockerfile.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| FROM golang:1.18.3-alpine AS build | FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine AS build | ||||||
|  |  | ||||||
| WORKDIR /fastpastebin | WORKDIR /fastpastebin | ||||||
| COPY . . | COPY . . | ||||||
| @@ -7,7 +7,7 @@ WORKDIR /fastpastebin/cmd/fastpastebin | |||||||
|  |  | ||||||
| RUN CGO_ENABLED=0 go build -tags netgo | RUN CGO_ENABLED=0 go build -tags netgo | ||||||
|  |  | ||||||
| FROM alpine:3.16.0 | FROM code.pztrn.name/containers/mirror/alpine:3.16.0 | ||||||
| LABEL maintainer "Stanislav N. <pztrn@pztrn.name>" | LABEL maintainer "Stanislav N. <pztrn@pztrn.name>" | ||||||
|  |  | ||||||
| COPY --from=build /fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin | COPY --from=build /fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user