Skip to content

Commit

Permalink
Bump version in the dockerfile for rpm builder
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Mar 26, 2022
1 parent d175033 commit 861c1a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/redhat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by the GNU GPL v3
# license that can be found in the LICENSE file.
#
FROM golang:1.16-alpine AS builder
FROM golang:1.18-alpine AS builder

RUN apk update && apk add --no-cache build-base ca-certificates git
# Required by statically linked binary with OpenSSL
Expand All @@ -12,7 +12,7 @@ WORKDIR /go/src/app
COPY . .
RUN make linux-amd64

FROM fedora:34
FROM fedora:37
RUN dnf install -y rpm-build systemd
RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
RUN echo "%_topdir /root/rpmbuild" >> .rpmmacros
Expand Down

0 comments on commit 861c1a1

Please sign in to comment.