Skip to content

Commit

Permalink
security: update yum repo
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Jun 11, 2020
1 parent 789c9d8 commit a4f4037
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- master
paths-ignore:
- 'docs/**'
- 'dist/**'
- 'yamls/**'
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# No CentOS Upstream fix
CVE-2020-12662
CVE-2020-12663
12 changes: 6 additions & 6 deletions dist/images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ RUN mkdir /rpms/ && \


FROM centos:8

RUN yum upgrade -y sqlite-libs libarchive systemd && \
yum remove -y bind-export-libs

RUN yum install -y \
RUN sed -i 's/$releasever/8-stream/g' /etc/yum.repos.d/CentOS-AppStream.repo && \
sed -i 's/$releasever/8-stream/g' /etc/yum.repos.d/CentOS-Base.repo
RUN yum remove -y bind-export-libs && yum update -y && \
yum install -y \
firewalld-filesystem \
libpcap \
hostname ethtool \
iproute nc \
unbound-devel \
tcpdump ipset && yum clean all
tcpdump ipset && \
yum clean all
ARG RPM_ARCH
RUN rpm -ivh --nodeps https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/30/Everything/${RPM_ARCH}/os/Packages/i/iptables-1.8.0-5.fc30.${RPM_ARCH}.rpm

Expand Down

0 comments on commit a4f4037

Please sign in to comment.