Skip to content

Commit

Permalink
Revert "yum-plugin-ovl is now included in Amazon Linux 1 Lambdas"
Browse files Browse the repository at this point in the history
This reverts commit 38f12c4.
  • Loading branch information
mhart committed Jun 27, 2020
1 parent a90b267 commit 4190ed1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions base/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin

# A couple of packages are either missing critical-ish files, or didn't make it into the tar
RUN chmod 1777 /tmp && \
/usr/bin/python3 -c "from configparser import SafeConfigParser; \
yum_conf = SafeConfigParser(); \
yum_conf.read('/etc/yum.conf'); \
yum_conf.has_section('main') or yum_conf.add_section('main'); \
yum_conf.set('main', 'plugins', '1'); \
f = open('/etc/yum.conf', 'w'); \
yum_conf.write(f); \
f.close();" && \
rpm --rebuilddb && \
yum install -y yum-plugin-ovl && \
yum reinstall -y setup pam shadow-utils audit-libs openssl glibc-common glibc && \
yum groupinstall -y development && \
yum install -y clang cmake docker python27-devel python36-devel \
Expand Down

0 comments on commit 4190ed1

Please sign in to comment.