-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for RHEL Centos 8 RPM #2190
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
fde81a5
Added support for Centos 8 RPM packaging.
egieseke 6a1473b
Limit build to AMD64 for testing centos8.
egieseke 9be50ea
Merge branch 'master' of https://github.com/algorand/go-algorand into…
egieseke 6b13ca8
Updated goproxy path to include proxy.golang.org
egieseke bae59e4
include call to ./scripts/configure_dev.sh in docker/build/cicd.cento…
egieseke c73046e
Merge branch 'master' of https://github.com/algorand/go-algorand into…
egieseke 436d6b4
include call to ./scripts/configure_dev.sh in docker/build/cicd.ubunt…
egieseke a51d23f
include call to ./scripts/configure_dev.sh in docker/build/cicd.cento…
egieseke 60b49e0
remove call to ./scripts/configure_dev.sh in docker/build/cicd.centos…
egieseke 81fe6fb
Remove install of ShellCheck from centos8.
egieseke fb5cf8e
Use dnf to install sqlite, libstdc++-static, and make.
egieseke b309c83
Enable arm64 and docker jobs in mule.yaml.
egieseke 780a944
Remove use of ./scripts/configure_dev.sh
egieseke e864ee7
Use branch of go-algorand-ci
egieseke 98e95f7
Merge branch 'master' into add-centos8-rpm
onetechnical 2424983
Replaced centos8 base image with centos stream 8.
egieseke 9361c2d
Merge remote-tracking branch 'origin/add-centos8-rpm' into add-centos…
egieseke bc7b3f8
Prefetch centos stream 8 docker image.
egieseke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ARG ARCH="amd64" | ||
|
||
FROM quay.io/centos/centos:stream8 | ||
ARG GOLANG_VERSION | ||
ARG ARCH="amd64" | ||
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ | ||
dnf update -y && \ | ||
dnf install -y autoconf wget awscli git gnupg2 nfs-utils python3-devel boost-devel expect jq \ | ||
libtool gcc-c++ libstdc++-devel rpmdevtools createrepo rpm-sign bzip2 which \ | ||
libffi-devel openssl-devel | ||
RUN dnf install -y epel-release && \ | ||
dnf update && \ | ||
dnf -y install sqlite && \ | ||
dnf -y --enablerepo=powertools install libstdc++-static && \ | ||
dnf -y install make | ||
RUN echo "${BOLD}Downloading and installing binaries...${RESET}" && \ | ||
curl -Of https://shellcheck.storage.googleapis.com/shellcheck-v0.7.0.linux.x86_64.tar.xz && \ | ||
tar -C /usr/local/bin/ -xf shellcheck-v0.7.0.linux.x86_64.tar.xz --no-anchored 'shellcheck' --strip=1 | ||
WORKDIR /root | ||
RUN wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH%v*}.tar.gz \ | ||
&& tar -xvf go${GOLANG_VERSION}.linux-${ARCH%v*}.tar.gz && \ | ||
mv go /usr/local | ||
ENV GOROOT=/usr/local/go \ | ||
GOPATH=$HOME/go \ | ||
ARCH_TYPE=${ARCH} | ||
RUN mkdir -p $GOPATH/src/github.com/algorand | ||
COPY . $GOPATH/src/github.com/algorand/go-algorand | ||
ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH \ | ||
GOPROXY=https://proxy.golang.org,https://pkg.go.dev,https://goproxy.io,direct | ||
WORKDIR $GOPATH/src/github.com/algorand/go-algorand | ||
RUN make clean | ||
RUN rm -rf $GOPATH/src/github.com/algorand/go-algorand && \ | ||
mkdir -p $GOPATH/src/github.com/algorand/go-algorand | ||
RUN echo "vm.max_map_count = 262144" >> /etc/sysctl.conf | ||
CMD ["/bin/bash"] |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM quay.io/centos/centos:stream8 | ||
|
||
WORKDIR /root | ||
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ | ||
dnf install -y autoconf awscli curl git gnupg2 nfs-utils python36 sqlite boost-devel expect jq libtool gcc-c++ libstdc++-devel rpmdevtools createrepo rpm-sign bzip2 which && \ | ||
dnf -y --enablerepo=powertools install libstdc++-static | ||
|
||
RUN echo "${BOLD}Downloading and installing binaries...${RESET}" && \ | ||
curl -Of https://shellcheck.storage.googleapis.com/shellcheck-v0.7.0.linux.x86_64.tar.xz && \ | ||
tar -C /usr/local/bin/ -xf shellcheck-v0.7.0.linux.x86_64.tar.xz --no-anchored 'shellcheck' --strip=1 | ||
|
||
ENTRYPOINT ["/bin/bash"] | ||
|
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this file still exist? I thought tsachi was removing it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cleared it's content, but kept it around so it won't create build failures.