Skip to content
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

binutils is installed in centos7 #4

Open
hmaarrfk opened this issue Jan 6, 2019 · 0 comments
Open

binutils is installed in centos7 #4

hmaarrfk opened this issue Jan 6, 2019 · 0 comments

Comments

@hmaarrfk
Copy link

hmaarrfk commented Jan 6, 2019

FROM arm64v8/centos:7

I suggest adding this line somewhere:

# Remove the centos binutils tools so that we make sure we arn't using them accidentally
# You can't remove these with yum because apparently it would delete the whole system.
RUN bash -c "rm -f /usr/bin/{ar,addr2line,as,c++filt,dwp,elfedit,gprof,ld,ld.bfd,ld.gold,nm,objcopy,objdump,ranlib,readlef,size,strings,strip}"

I'm not sure how critical having the right version of bintuils is, but it is probably good to remove cento's executables. I doubt they should be running anyway.

Ubuntu doesn't have these installed by default, so I was running into all sorts of things that I guess you don't run into with centos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant