Skip to content

Commit

Permalink
PMM-12641 update goreleaser version
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Dec 28, 2023
1 parent 010b47f commit 1dbcfdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 57 deletions.
52 changes: 0 additions & 52 deletions build/docker/rpmbuild/Dockerfile

This file was deleted.

10 changes: 5 additions & 5 deletions build/docker/rpmbuild/Dockerfile.el9
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM oraclelinux:9-slim

# enable nodesource repo for nodejs
RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
RUN curl -sL https://rpm.nodesource.com/setup_18.x | bash -
RUN curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo
RUN microdnf install -y yum

Expand All @@ -25,12 +25,12 @@ RUN yum update -y && \
yum clean all && rm -rf /var/cache/yum

# keep that format for easier search
ENV GO_VERSION 1.21.3
ENV GO_RELEASER_VERSION 1.21.2
ENV GO_VERSION 1.21.5
ENV GO_RELEASER_VERSION 1.22.1

RUN if [ `uname -i` == "x86_64" ]; then ARCH=amd64; else ARCH=arm64; fi && \
wget --progress=dot:giga https://dl.google.com/go/go${GO_VERSION}.linux-${ARCH}.tar.gz -O /tmp/golang.tar.gz && \
wget --progress=dot:giga https://github.com/goreleaser/goreleaser/releases/download/v${GO_RELEASER_VERSION}/goreleaser-${GO_RELEASER_VERSION}-1.`uname -i`.rpm -O /tmp/goreleaser.rpm && \
curl -fSsL -o /tmp/golang.tar.gz https://dl.google.com/go/go${GO_VERSION}.linux-${ARCH}.tar.gz && \
curl -fSsL -o /tmp/goreleaser.rpm https://github.com/goreleaser/goreleaser/releases/download/v${GO_RELEASER_VERSION}/goreleaser-${GO_RELEASER_VERSION}-1.`uname -i`.rpm && \
tar -C /usr/local -xzf /tmp/golang.tar.gz && \
yum install -y /tmp/goreleaser.rpm && \
rm /tmp/golang.tar.gz /tmp/goreleaser.rpm
Expand Down

0 comments on commit 1dbcfdd

Please sign in to comment.