Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Docker files for CentOS 8 build for 4.1.x#5137

Closed
hbeatty wants to merge 1 commit intoapache:4.1.xfrom
hbeatty:HB-cos8-docker-build-files
Closed

Docker files for CentOS 8 build for 4.1.x#5137
hbeatty wants to merge 1 commit intoapache:4.1.xfrom
hbeatty:HB-cos8-docker-build-files

Conversation

@hbeatty
Copy link
Copy Markdown
Contributor

@hbeatty hbeatty commented Oct 12, 2020

I have been working on getting TC running on CentOS 8. I thought some others might be interested in these files.

@hbeatty hbeatty requested a review from jhg03a October 12, 2020 03:39
@hbeatty hbeatty self-assigned this Oct 12, 2020
@rawlinp
Copy link
Copy Markdown
Contributor

rawlinp commented Oct 12, 2020

Should this be targeted towards the master branch instead of 4.1.x?

Copy link
Copy Markdown
Contributor

@jhg03a jhg03a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, the Golang version and COS_VERSION defaults are the main things I see. I do wonder though if/what the impact is on the pkg script though since it's still the primary means of building. Before it gets merged, we'd need to be sure existing calls to pkg work and an arg and environment var can switch COS_VERSION too. It may also be worth a separate discussion about increasing our testing images + CIAB to support Centos8 as well. As long as Centos7 is the default and pkg works the same though, I'm ok with that being completely separate.

Comment on lines +42 to +46
RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \
tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \
ln -s /usr/local/go/bin/go /usr/bin/go && \
rm go1.14.2.linux-amd64.tar.gz

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some recent modifications to upgrade to Golang 15

Comment on lines +41 to +44
RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \
tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \
ln -s /usr/local/go/bin/go /usr/bin/go && \
rm go1.14.2.linux-amd64.tar.gz
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some recent modifications to upgrade to Golang 15

Comment on lines +46 to +49
RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \
tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \
ln -s /usr/local/go/bin/go /usr/bin/go && \
rm go1.14.2.linux-amd64.tar.gz
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some recent modifications to upgrade to Golang 15

Comment on lines +47 to +50
RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \
tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \
ln -s /usr/local/go/bin/go /usr/bin/go && \
rm go1.14.2.linux-amd64.tar.gz
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some recent modifications to upgrade to Golang 15

Comment on lines +39 to +42
RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \
tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \
ln -s /usr/local/go/bin/go /usr/bin/go && \
rm go1.14.2.linux-amd64.tar.gz
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some recent modifications to upgrade to Golang 15

Comment on lines +40 to +43
RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \
tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \
ln -s /usr/local/go/bin/go /usr/bin/go && \
rm go1.14.2.linux-amd64.tar.gz
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some recent modifications to upgrade to Golang 15

traffic_monitor_build:
image: traffic_monitor_builder
build:
dockerfile: infrastructure/docker/build/Dockerfile-traffic_monitor-${COS_VERSION}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a good idea to have a default COS_VERSION specified for 7. Docker variable intepolation should support this.


###

ADD infrastructure/docker/build/clean_build.sh /
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On master this script was moved to build/clean_build.sh

@hbeatty hbeatty closed this Nov 4, 2020
@zrhoffman zrhoffman mentioned this pull request Nov 20, 2020
6 tasks
@zrhoffman zrhoffman added build related to the build process new feature A new feature, capability or behavior os labels Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

build related to the build process new feature A new feature, capability or behavior os

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants