[#126] Fix docker warnings
All checks were successful
/ DCO (pull_request) Successful in 1m4s
/ Vulncheck (pull_request) Successful in 1m17s
/ Builds (1.21) (pull_request) Successful in 1m37s
/ Builds (1.22) (pull_request) Successful in 1m47s
/ Lint (pull_request) Successful in 2m41s
/ Tests (1.21) (pull_request) Successful in 1m36s
/ Tests (1.22) (pull_request) Successful in 1m39s

Signed-off-by: Roman Loginov <r.loginov@yadro.com>
This commit is contained in:
Roman Loginov 2024-08-16 12:56:38 +03:00
parent fcf99d9a59
commit 5ee09790f0

View file

@ -1,9 +1,9 @@
FROM golang:1.22-alpine as basebuilder
FROM golang:1.22-alpine AS basebuilder
RUN apk add --update make bash ca-certificates
FROM basebuilder as builder
ENV GOGC off
ENV CGO_ENABLED 0
FROM basebuilder AS builder
ENV GOGC=off
ENV CGO_ENABLED=0
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository