--
This commit is contained in:
parent
126bdd55f7
commit
ab1d42968f
@ -1,5 +1,5 @@
|
|||||||
# BUILD
|
# BUILD
|
||||||
FROM golang:1.20.3-alpine AS build
|
FROM penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/golang AS build
|
||||||
|
|
||||||
# Update packages and clear cache
|
# Update packages and clear cache
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl
|
||||||
@ -17,7 +17,7 @@ RUN go mod download
|
|||||||
RUN GOOS=linux go build -o bin ./...
|
RUN GOOS=linux go build -o bin ./...
|
||||||
|
|
||||||
# PRODUCTION
|
# PRODUCTION
|
||||||
FROM alpine:3.18.3 AS production
|
FROM penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/alpine AS production
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user