Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
27 lines (25 loc) · 1.21 KB

File metadata and controls

27 lines (25 loc) · 1.21 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM lambci/lambda-base
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 && \
yum groupinstall -y development && \
yum install -y clang cmake docker python27-devel python36-devel \
ImageMagick-devel cairo-devel libssh2-devel libxslt-devel libmpc-devel readline-devel db4-devel \
libffi-devel expat-devel libicu-devel lua-devel gdbm-devel sqlite-devel pcre-devel libcurl-devel && \
alternatives --set gcc /usr/bin/gcc48 && \
alternatives --set g++ /usr/bin/g++48 && \
alternatives --set cpp /usr/bin/cpp48 && \
curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python3 && \
yum clean all && \
rm -rf /var/cache/yum
Morty Proxy This is a proxified and sanitized view of the page, visit original site.