Skip to content

Commit

Permalink
Merge pull request #123 from danwinship/alphabetize
Browse files Browse the repository at this point in the history
NO-JIRA: Fix alphabetical ordering of packages in Dockerfiles
  • Loading branch information
openshift-merge-bot[bot] committed Apr 11, 2024
2 parents 686a6a5 + 32b6846 commit 0e1891d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Expand Up @@ -16,16 +16,16 @@ RUN rm -rf /opt/bin/local-scripts && ln -s /opt/bin/network-tools /usr/bin/netwo

# Make sure to maintain alphabetical ordering when adding new packages.
RUN INSTALL_PKGS="\
bcc \
bcc-tools \
conntrack-tools \
iproute \
nginx \
numactl \
traceroute \
wireshark-cli \
conntrack-tools \
perf \
iproute \
bcc \
bcc-tools \
python3-bcc \
traceroute \
wireshark-cli \
" && \
yum -y install --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False $INSTALL_PKGS && \
yum clean all && rm -rf /var/cache/*
24 changes: 11 additions & 13 deletions Dockerfile.fedora
Expand Up @@ -19,12 +19,16 @@ COPY --from=tools /usr/bin/oc /usr/bin/oc
RUN INSTALL_PKGS="\
bash-completion \
bc \
bcc \
bcc-tools \
bind-utils \
blktrace \
conntrack-tools \
crash \
e2fsprogs \
ethtool \
file \
fio \
git \
glibc-utils \
gzip \
Expand All @@ -37,32 +41,26 @@ RUN INSTALL_PKGS="\
ltrace \
mailx \
net-tools \
nginx \
nmap-ncat \
numactl \
parted \
pciutils \
perf \
procps-ng \
psmisc \
perf \
python3-bcc \
strace \
stress-ng \
sysstat \
tcpdump \
tmux \
traceroute \
util-linux \
vim-enhanced \
wget \
xfsprogs \
fio \
stress-ng \
nginx \
numactl \
traceroute \
wireshark-cli \
conntrack-tools \
perf \
iproute \
bcc \
bcc-tools \
python3-bcc \
xfsprogs \
" && \
yum -y install --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False $INSTALL_PKGS && \
yum clean all && rm -rf /var/cache/*
Expand Down

0 comments on commit 0e1891d

Please sign in to comment.