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 e51a79c commit 808a5c6
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 31 deletions.
22 changes: 12 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.source https://github.com/castisdev/docker-centos
# Install EPEL repo
RUN yum install -y epel-release; yum -y clean all

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

# Install
RUN yum install -y \
sudo \
Expand Down Expand Up @@ -50,32 +52,32 @@ RUN yum install -y \
ADD install_xercesc280.sh /script/
RUN /script/install_xercesc280.sh

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

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

ADD install_googletest1100.sh /script/
RUN /script/install_googletest1100.sh

ADD install_python396.sh /script/
RUN /script/install_python396.sh
ADD install_python399.sh /script/
RUN /script/install_python399.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.sh /script/
RUN /script/install_zsh58.sh

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

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

# set timezone
RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
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.sh → install_ffmpeg441.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 SDL2-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.sh → install_python399.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
make install -j$(nproc)
cd ~
Expand Down

0 comments on commit 808a5c6

Please sign in to comment.