summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-02-27 11:13:43 +0800
committeryangwei <[email protected]>2024-02-27 11:29:04 +0800
commitcd72134c6f4fa7b4620f5e5ea9333aa6084dd90f (patch)
tree04b64674687c38e24fd68ba1c6f05c2af8f7f923
parentf467df42ec53958848247b000ff07bddf2fdaf75 (diff)
✨ feat(stellar-c sapp version update): sapp-4.3.38 stellar-c-1.0.13HEADmain
-rw-r--r--Dockerfile5
-rw-r--r--README.md6
2 files changed, 8 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index df8116a..b672570 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,8 @@ RUN cp /tmp/repo.internal.geedge.net.repo /etc/yum.repos.d/ && \
yum install -y libunwind gperftools && \
dnf --enablerepo=powertools install -y libnsl
+RUN yum makecache
+
RUN yumdownloader --destdir=/tmp/ libMESA_prof_load-devel libMESA_prof_load \
libMESA_htable-devel libMESA_htable \
libMESA_handle_logger-devel libMESA_handle_logger \
@@ -28,11 +30,12 @@ RUN yumdownloader --destdir=/tmp/ libMESA_prof_load-devel libMESA_prof_load \
libbreakpad_mini libMESA_jump_layer libcjson && \
find /tmp/ -name "*.rpm" |xargs rpm --prefix=/opt/tsg/framework --force --nodeps -ivh
-RUN yumdownloader --destdir=/tmp/ sapp stellar-c && \
+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" ]
diff --git a/README.md b/README.md
index 5d5a120..200c742 100644
--- a/README.md
+++ b/README.md
@@ -18,9 +18,11 @@ Replace `your_username` and `your_passwd` with your private account.
Step 2: Pull the stellar-dev-env Docker image, use the following command:
```
-docker pull git.mesalab.cn:7443/stellar/stellar-dev-env:main
+docker pull git.mesalab.cn:7443/stellar/stellar-dev-env:$tag
```
+Replace `tag` with the desired version or branch name, such as `main`.
+
After successfully pulling the image, you can use the stellar-dev-env Docker container as needed.
## Development Components
@@ -37,4 +39,4 @@ The stellar-dev-env Docker image comes pre-installed with essential development
* libfieldstat3
* libfieldstat4
* libbreakpad_mini
-* licjson
+* libcjson