-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packaging distributions backport
release/0.3
(#423)
Co-authored-by: Nick Neisen <[email protected]>
- Loading branch information
1 parent
4cf6d2f
commit e0b1257
Showing
14 changed files
with
42 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
9 changes: 2 additions & 7 deletions
9
packaging/deb/ubuntu-eoan/Dockerfile → packaging/deb/ubuntu-noble/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 7 additions & 9 deletions
16
packaging/rpm/centos-7/Dockerfile → packaging/rpm/almalinux-8/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
ARG GO_IMAGE | ||
ARG DISTRO=centos | ||
ARG SUITE=7 | ||
ARG DISTRO=almalinux | ||
ARG SUITE=8 | ||
ARG BUILD_IMAGE=${DISTRO}:${SUITE} | ||
|
||
FROM ${GO_IMAGE} AS golang | ||
|
||
FROM ${BUILD_IMAGE} | ||
ARG DISTRO | ||
ARG SUITE | ||
ENV DISTRO ${DISTRO} | ||
ENV SUITE ${SUITE} | ||
ENV GOPROXY=direct | ||
ENV GOPATH=/go | ||
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin | ||
ENV AUTO_GOPATH 1 | ||
ENV DOCKER_BUILDTAGS seccomp selinux | ||
ENV RUNC_BUILDTAGS seccomp selinux | ||
ARG DISTRO | ||
ARG SUITE | ||
ENV DISTRO=${DISTRO} | ||
ENV SUITE=${SUITE} | ||
RUN yum install -y rpm-build rpmlint | ||
COPY SPECS /root/rpmbuild/SPECS | ||
# Overwrite repo that was failing on aarch64 | ||
RUN sed -i 's/altarch/centos/g' /etc/yum.repos.d/CentOS-Sources.repo | ||
RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec | ||
COPY --from=golang /usr/local/go /usr/local/go | ||
COPY --from=golang /usr/local/go /usr/local/go/ | ||
WORKDIR /root/rpmbuild | ||
ENTRYPOINT ["/bin/rpmbuild"] |
18 changes: 8 additions & 10 deletions
18
packaging/rpm/centos-8/Dockerfile → packaging/rpm/almalinux-9/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
ARG GO_IMAGE | ||
ARG DISTRO=centos | ||
ARG SUITE=8 | ||
ARG DISTRO=almalinux | ||
ARG SUITE=9 | ||
ARG BUILD_IMAGE=${DISTRO}:${SUITE} | ||
|
||
FROM ${GO_IMAGE} AS golang | ||
|
||
FROM ${BUILD_IMAGE} | ||
ARG DISTRO | ||
ARG SUITE | ||
ENV DISTRO ${DISTRO} | ||
ENV SUITE ${SUITE} | ||
ENV GOPROXY=direct | ||
ENV GOPATH=/go | ||
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin | ||
ENV AUTO_GOPATH 1 | ||
ENV DOCKER_BUILDTAGS seccomp selinux | ||
ENV RUNC_BUILDTAGS seccomp selinux | ||
ARG DISTRO | ||
ARG SUITE | ||
ENV DISTRO=${DISTRO} | ||
ENV SUITE=${SUITE} | ||
RUN yum install -y rpm-build rpmlint yum-utils | ||
RUN dnf config-manager --set-enabled powertools | ||
RUN yum install -y rpm-build rpmlint | ||
COPY SPECS /root/rpmbuild/SPECS | ||
# Overwrite repo that was failing on aarch64 | ||
RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec | ||
COPY --from=golang /usr/local/go /usr/local/go | ||
COPY --from=golang /usr/local/go /usr/local/go/ | ||
WORKDIR /root/rpmbuild | ||
ENTRYPOINT ["/bin/rpmbuild"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packaging/rpm/fedora-36/Dockerfile → packaging/rpm/fedora-40/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packaging/rpm/fedora-34/Dockerfile → packaging/rpm/fedora-41/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters