forked from TrueCloudLab/frostfs-node
[#785] Remove unused layer from builder images
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
e950dfe44f
commit
03b5aad2e4
5 changed files with 5 additions and 20 deletions
|
@ -1,7 +1,4 @@
|
||||||
FROM golang:1.16 as basebuilder
|
FROM golang:1.16 as builder
|
||||||
RUN apk add --update make bash
|
|
||||||
|
|
||||||
FROM basebuilder as builder
|
|
||||||
ARG BUILD=now
|
ARG BUILD=now
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
ARG REPO=repository
|
ARG REPO=repository
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
FROM golang:1.16 as basebuilder
|
FROM golang:1.16 as builder
|
||||||
RUN apk add --update make bash
|
|
||||||
|
|
||||||
FROM basebuilder as builder
|
|
||||||
ARG BUILD=now
|
ARG BUILD=now
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
ARG REPO=repository
|
ARG REPO=repository
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
FROM golang:1.16 as basebuilder
|
FROM golang:1.16 as builder
|
||||||
RUN apk add --update make bash
|
|
||||||
|
|
||||||
FROM basebuilder as builder
|
|
||||||
ARG BUILD=now
|
ARG BUILD=now
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
ARG REPO=repository
|
ARG REPO=repository
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
FROM golang:1.16 as basebuilder
|
FROM golang:1.16 as builder
|
||||||
RUN apk add --update make bash
|
|
||||||
|
|
||||||
FROM basebuilder as builder
|
|
||||||
ARG BUILD=now
|
ARG BUILD=now
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
ARG REPO=repository
|
ARG REPO=repository
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
FROM golang:1.16 as basebuilder
|
FROM golang:1.16 as builder
|
||||||
RUN apk add --update make bash
|
|
||||||
|
|
||||||
FROM basebuilder as builder
|
|
||||||
ARG BUILD=now
|
ARG BUILD=now
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
ARG REPO=repository
|
ARG REPO=repository
|
||||||
|
|
Loading…
Reference in a new issue