mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
build: use golang:1.16 as runtime container for retest action
It seems that building the `retest` action makes it consume shared libraries that are not part of the `scratch` base container layer. By using the golang:1.16 container image as a base, all required shared libraries are available. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
1fa8939e84
commit
fac3ef01c6
@ -10,7 +10,7 @@ WORKDIR ${WORK_DIR}
|
|||||||
|
|
||||||
RUN go build -mod=vendor -o retest ./main.go
|
RUN go build -mod=vendor -o retest ./main.go
|
||||||
|
|
||||||
FROM scratch
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
ARG WORK_DIR
|
ARG WORK_DIR
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user