-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[jessie based docker] remove dependency on some retired jessie repos #2707
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
Changes from all commits
3a2ff72
6320eb3
215fe61
b84b670
c27d4fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| FROM debian:jessie | ||
|
|
||
| ## Remove retired jessie-updates repo | ||
| RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list | ||
|
|
||
| # Clean documentation in FROM image | ||
| RUN find /usr/share/doc -depth \( -type f -o -type l \) ! -name copyright | xargs rm || true | ||
|
|
||
|
|
@@ -28,12 +31,9 @@ RUN apt-get -y install \ | |
| vim-tiny \ | ||
| perl \ | ||
| python \ | ||
| rsyslog \ | ||
| less | ||
|
|
||
| # Install a newer version of rsyslog from jessie-backports in hopes of | ||
| # eliminating memory leaks | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to update rsyslog version?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We may want to consider it for the 201811 branch, because the Docker images are still based on Jessie (I just did this for the 201803 branch). For the master branch, we are upgrading all images to Stretch, which has the newer version of rsyslog. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "I just did this for the 201803 branch"
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @yinshuangshuang: Thank you for the suggestion! I have created a PR to upgrade the version of rsyslog installed in the Docker containers in the 2018011 branch here: #3127. |
||
| RUN apt-get -y -t jessie-backports install rsyslog | ||
|
|
||
| COPY ["etc/rsyslog.conf", "/etc/rsyslog.conf"] | ||
| COPY ["etc/rsyslog.d/*", "/etc/rsyslog.d/"] | ||
| COPY ["root/.vimrc", "/root/.vimrc"] | ||
|
|
||
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.
This is not needed. Later