Skip to content

Commit

Permalink
최신버전 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
sasgas committed Dec 22, 2021
1 parent f93a91c commit fdddf33
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 42 deletions.
28 changes: 15 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^#baseurl=http:\/\/mirror.cent
# Install EPEL repo
RUN yum install -y epel-release; yum -y clean all

RUN yum -y install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm; yum -y clean all

# Install
RUN yum install -y \
sudo \
Expand Down Expand Up @@ -51,18 +53,18 @@ ADD install_devtoolset9.sh /script/
RUN /script/install_devtoolset9.sh
SHELL [ "scl", "enable", "devtoolset-9" ]

ADD install_cmake3212.sh /script/
RUN /script/install_cmake3212.sh
ADD install_cmake3221.sh /script/
RUN /script/install_cmake3221.sh

ADD install_libbacktrace.sh /script/
RUN /script/install_libbacktrace.sh

ADD install_boost177.sh /script/
RUN /script/install_boost177.sh
ENV Boost_DIR /usr/local/boost_1_77_0
ADD install_boost178.sh /script/
RUN /script/install_boost178.sh
ENV Boost_DIR /usr/local/boost_1_78_0

ADD install_cryptopp850.sh /script/
RUN /script/install_cryptopp850.sh
ADD install_cryptopp860.sh /script/
RUN /script/install_cryptopp860.sh

ADD install_googletest1110.sh /script/
RUN /script/install_googletest1110.sh
Expand All @@ -73,23 +75,23 @@ RUN /script/install_openssl102u.sh
ADD install_python2718.sh /script/
RUN /script/install_python2718.sh

ADD install_python396.el6.sh /script/
RUN /script/install_python396.el6.sh
ADD install_python399.el6.sh /script/
RUN /script/install_python399.el6.sh

ADD install_cpptools.sh /script/
RUN /script/install_cpptools.sh

ADD install_cppcheck25.sh /script/
RUN /script/install_cppcheck25.sh
ADD install_cppcheck26.sh /script/
RUN /script/install_cppcheck26.sh

ADD install_zsh58.el6.sh /script/
RUN /script/install_zsh58.el6.sh

ADD install_ninja1102.sh /script/
RUN /script/install_ninja1102.sh

ADD install_ffmpeg44.el6.sh /script/
RUN /script/install_ffmpeg44.el6.sh
ADD install_ffmpeg441.el6.sh /script/
RUN /script/install_ffmpeg441.el6.sh

# set timezone
RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
Expand Down
10 changes: 5 additions & 5 deletions install_boost177.sh → install_boost178.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
set -x #echo on
yum -y install bzip2-devel which valgrind-devel; yum -y clean all
cd ~
wget -nv --no-check-certificate https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.tar.gz
tar xzf boost_1_77_0.tar.gz
cd boost_1_77_0
wget -nv --no-check-certificate https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.gz
tar xzf boost_1_78_0.tar.gz
cd boost_1_78_0

./bootstrap.sh --prefix=/usr/local/boost_1_77_0
./bootstrap.sh --prefix=/usr/local/boost_1_78_0
./b2 --without-python -j$(nproc) install
./b2 boost.locale.icu=off --with-locale -j$(nproc) install

./bootstrap.sh --prefix=/usr/local/boost_1_77_0_valgrind
./bootstrap.sh --prefix=/usr/local/boost_1_78_0_valgrind
./b2 --without-python -j$(nproc) valgrind=on install

cd ~
Expand Down
9 changes: 0 additions & 9 deletions install_cmake3212.sh

This file was deleted.

9 changes: 9 additions & 0 deletions install_cmake3221.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-linux-x86_64.sh --no-check-certificate
chmod +x cmake-3.22.1-linux-x86_64.sh
./cmake-3.22.1-linux-x86_64.sh --skip-license --prefix=/usr/local
cmake --version
cd ~
rm -rf cmake-*
6 changes: 3 additions & 3 deletions install_cppcheck25.sh → install_cppcheck26.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
set -x #echo on
cd ~
yum -y install bzip2; yum -y clean all
wget -nv --no-check-certificate --content-disposition https://github.com/danmar/cppcheck/archive/2.5.tar.gz
tar xf cppcheck-2.5.tar.gz
cd cppcheck-2.5
wget -nv --no-check-certificate --content-disposition https://github.com/danmar/cppcheck/archive/2.6.tar.gz
tar xf cppcheck-2.6.tar.gz
cd cppcheck-2.6
mkdir build;cd build;cmake ..;make install -j$(nproc)
cd ~
rm -rf cppcheck*
4 changes: 2 additions & 2 deletions install_cryptopp850.sh → install_cryptopp860.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv --no-check-certificate https://www.cryptopp.com/cryptopp850.zip
unzip cryptopp850.zip -d cryptopp
wget -nv --no-check-certificate https://www.cryptopp.com/cryptopp860.zip
unzip cryptopp860.zip -d cryptopp
cd cryptopp
sed -e s/march=native/march=x86-64/g GNUmakefile > tmp_make
mv -f tmp_make GNUmakefile
Expand Down
8 changes: 4 additions & 4 deletions install_ffmpeg44.el6.sh → install_ffmpeg441.el6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
set -x #echo on
yum -y install libxml2-devel SDL-devel alsa-lib-devel libXv-devel libX11-devel libXext-devel autoconf automake libtool yasm nasm; yum -y clean all
cd ~
wget -nv --no-check-certificate https://ffmpeg.org/releases/ffmpeg-4.4.tar.bz2
tar xf ffmpeg-4.4.tar.bz2
cd ffmpeg-4.4
wget -nv --no-check-certificate https://ffmpeg.org/releases/ffmpeg-4.4.1.tar.bz2
tar xf ffmpeg-4.4.1.tar.bz2
cd ffmpeg-4.4.1

./configure --enable-libxml2 --enable-shared
make install -j$(nproc)
echo "/usr/local/lib" >> /etc/ld.so.conf.d/ffmpeg.conf
ldconfig

cd ~
rm -rf ffmpeg-4.4*
rm -rf ffmpeg-4.4.1*
6 changes: 3 additions & 3 deletions install_python396.el6.sh → install_python399.el6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ set -x #echo on

cd ~
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel; yum clean all -y
wget -nv https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tar.xz
tar xf Python-3.9.6.tar.xz
cd Python-3.9.6
wget -nv https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tar.xz
tar xf Python-3.9.9.tar.xz
cd Python-3.9.9
./configure --prefix=/usr/local --with-openssl=/usr/local/openssl
make install -j$(nproc)
cd ~
Expand Down
3 changes: 0 additions & 3 deletions install_zsh58.el6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/zsh
cd ~
rm -rf zsh-*

yum -y install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm; yum -y clean all
yum -y install git; yum -y clean all
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

0 comments on commit fdddf33

Please sign in to comment.