Skip to content

Commit 0982543

Browse files
committed
Change builder image
Stream 8 seems to be offline and we fail to pull RPMs from the repositories. Using dedicated Go base image instead. Signed-off-by: Petr Horacek <[email protected]>
1 parent 8c4e16b commit 0982543

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd/Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
FROM quay.io/centos/centos:stream8 as builder
1+
FROM quay.io/projectquay/golang:1.18 as builder
22

33
RUN mkdir /workdir
44
WORKDIR /workdir
55

6-
COPY go.mod .
7-
RUN dnf install -y golang-$(sed -En 's/^go +(.*+)$/\1/p' go.mod).*
8-
96
COPY . .
107

118
ENV GOOS linux

0 commit comments

Comments
 (0)