This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar-dev-env/Dockerfile
2024-09-24 17:04:22 +08:00

33 lines
1.3 KiB
Docker

FROM rockylinux/rockylinux:8
COPY el8.repo.internal.geedge.net.repo /tmp/repo.internal.geedge.net.repo
COPY netrc.conf /root/.netrc
COPY tsg_framework.sh /etc/profile.d/tsg_framework.sh
RUN cp /tmp/repo.internal.geedge.net.repo /etc/yum.repos.d/ && \
yum install -y gdb gcc gcc-c++ epel-release git yum-utils && \
dnf --enablerepo=powertools install -y libpcap-devel && \
yum install -y cmake3 && \
yum install -y sudo
RUN yum makecache
RUN yumdownloader --destdir=/tmp/ \
libMESA_prof_load \
libMESA_htable \
libMESA_handle_logger \
libMESA_field_stat2 \
libfieldstat3 \
libfieldstat4 \
libbreakpad_mini libMESA_jump_layer libcjson && \
find /tmp/ -name "*.rpm" |xargs rpm --prefix=/opt/tsg/framework --force --nodeps -ivh
RUN yumdownloader --destdir=/tmp/ sapp-4.3.38.90209da stellar-c-1.0.13.57d25a1 && \
find /tmp/ -name "sapp*.rpm" |xargs rpm --prefix=/opt/tsg/sapp -ivh && \
find /tmp/ -name "stellar-c*.rpm" | xargs rpm --prefix=/opt/tsg/ -ivh
RUN yum clean all && \
rm /tmp/*.rpm && \
rm -rf /var/cache/yum
CMD [ "/bin/bash" ]