Closed jwreagor closed 7 years ago
I found my answer on another project. It worked here. Simply add yum clean all
after every yum install
or yum update
.
Relevant bits of my Dockerfile
...
# install dev tools
-RUN yum clean all; \
- rpm --rebuilddb; \
- yum install -y curl which tar sudo openssh-server openssh-clients rsync
+RUN yum clean all \
+ && rpm --rebuilddb \
+ && yum install -y curl which tar sudo openssh-server openssh-clients rsync \
+ && yum clean all \
+ && yum update -y libselinux \
+ && yum clean all
+
# update libselinux. see https://github.com/sequenceiq/hadoop-docker/issues/14
-RUN yum update -y libselinux
+# RUN yum update -y libselinux
My issue is resolved, only posting here in case someone else runs across it too.
It solved my issue too. Thanks!
Thanks for your kindly recording! It solved my issue too.
Nice to see this helped others!
Solved my issue as well, thanks a lot. Used this in another dockerfile.
Thanks solved mine too
I'm using this project to establish a test container before we rebuild it using our own foundation images. During a
docker build
ofmaster
I was unable to get past updating libselinux.