[#785] Remove unused layer from builder images

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2021-09-15 16:50:13 +03:00 committed by Stanislav Bogatyrev
parent e950dfe44f
commit 03b5aad2e4
5 changed files with 5 additions and 20 deletions

View file

@ -1,7 +1,4 @@
FROM golang:1.16 as basebuilder
RUN apk add --update make bash
FROM basebuilder as builder
FROM golang:1.16 as builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository

View file

@ -1,7 +1,4 @@
FROM golang:1.16 as basebuilder
RUN apk add --update make bash
FROM basebuilder as builder
FROM golang:1.16 as builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository

View file

@ -1,7 +1,4 @@
FROM golang:1.16 as basebuilder
RUN apk add --update make bash
FROM basebuilder as builder
FROM golang:1.16 as builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository

View file

@ -1,7 +1,4 @@
FROM golang:1.16 as basebuilder
RUN apk add --update make bash
FROM basebuilder as builder
FROM golang:1.16 as builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository

View file

@ -1,7 +1,4 @@
FROM golang:1.16 as basebuilder
RUN apk add --update make bash
FROM basebuilder as builder
FROM golang:1.16 as builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository