Skip to content

Commit

Permalink
boost 1.80 등
Browse files Browse the repository at this point in the history
  • Loading branch information
sasgas committed Aug 24, 2022
1 parent 7336f4a commit fe00eb3
Show file tree
Hide file tree
Showing 11 changed files with 60 additions and 54 deletions.
38 changes: 21 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM centos:7

LABEL org.opencontainers.image.source https://github.com/castisdev/docker-centos7-legacy

# set timezone
RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

# Install EPEL repo
RUN yum install -y epel-release; yum -y clean all

Expand All @@ -16,8 +19,12 @@ RUN yum install -y \
gcc-c++ \
make \
unzip \
openssl \
openssl-devel \
openssl-static \
openssl11 \
openssl11-devel \
openssl11-static \
git \
subversion \
tar \
Expand Down Expand Up @@ -53,17 +60,17 @@ RUN yum install -y \
ADD install_xercesc280.sh /script/
RUN /script/install_xercesc280.sh

ADD install_cmake3232.sh /script/
RUN /script/install_cmake3232.sh
ADD install_cmake3241.sh /script/
RUN /script/install_cmake3241.sh

ADD install_cryptopp860.sh /script/
RUN /script/install_cryptopp860.sh
ADD install_cryptopp870.sh /script/
RUN /script/install_cryptopp870.sh

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

ADD install_python3913.sh /script/
RUN /script/install_python3913.sh
ADD install_python3106.sh /script/
RUN /script/install_python3106.sh

ADD install_cpptools.sh /script/
RUN /script/install_cpptools.sh
Expand All @@ -77,23 +84,20 @@ RUN /script/install_zsh59.sh
ADD install_ninja1110.sh /script/
RUN /script/install_ninja1110.sh

ADD install_ffmpeg501.sh /script/
RUN /script/install_ffmpeg501.sh
ADD install_ffmpeg51.sh /script/
RUN /script/install_ffmpeg51.sh

ADD install_golang1182.sh /script/
RUN /script/install_golang1182.sh
ADD install_golang119.sh /script/
RUN /script/install_golang119.sh

ADD install_libwebp122.sh /script/
RUN /script/install_libwebp122.sh
ADD install_libwebp124.sh /script/
RUN /script/install_libwebp124.sh

ADD install_wrk420.sh /script/
RUN /script/install_wrk420.sh

ADD install_protobuf210.sh /script/
RUN /script/install_protobuf210.sh

# set timezone
RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
ADD install_protobuf215.sh /script/
RUN /script/install_protobuf215.sh

# ctail
RUN wget -O - https://raw.githubusercontent.com/castisdev/ctail/master/install.sh --no-check-certificate | bash
Expand Down
9 changes: 0 additions & 9 deletions install_cmake3232.sh

This file was deleted.

9 changes: 9 additions & 0 deletions install_cmake3241.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.24.1/cmake-3.24.1-linux-x86_64.sh --no-check-certificate
chmod +x cmake-3.24.1-linux-x86_64.sh
./cmake-3.24.1-linux-x86_64.sh --skip-license --prefix=/usr/local
cmake --version
cd ~
rm -rf cmake-*
4 changes: 2 additions & 2 deletions install_cryptopp860.sh → install_cryptopp870.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/cryptopp860.zip
unzip cryptopp860.zip -d cryptopp
wget -nv --no-check-certificate https://www.cryptopp.com/cryptopp870.zip
unzip cryptopp870.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_ffmpeg501.sh → install_ffmpeg51.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-5.0.1.tar.bz2
tar xf ffmpeg-5.0.1.tar.bz2
cd ffmpeg-5.0.1
wget -nv --no-check-certificate https://ffmpeg.org/releases/ffmpeg-5.1.tar.bz2
tar xf ffmpeg-5.1.tar.bz2
cd ffmpeg-5.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-5.0.1*
rm -rf ffmpeg-5.1*
7 changes: 0 additions & 7 deletions install_golang1182.sh

This file was deleted.

7 changes: 7 additions & 0 deletions install_golang119.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv https://go.dev/dl/go1.19.linux-amd64.tar.gz
tar xvf go1.19.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.19.linux-amd64.tar.gz
rm -rf go1.19.linux-amd64.tar.gz
6 changes: 3 additions & 3 deletions install_libwebp122.sh → install_libwebp124.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv https://github.com/webmproject/libwebp/archive/refs/tags/v1.2.2.tar.gz --no-check-certificate --content-disposition
tar xvf libwebp-1.2.2.tar.gz
cd libwebp-1.2.2
wget -nv https://github.com/webmproject/libwebp/archive/refs/tags/v1.2.4.tar.gz --no-check-certificate --content-disposition
tar xvf libwebp-1.2.4.tar.gz
cd libwebp-1.2.4
./autogen.sh
./configure
make install -j$(nproc)
Expand Down
9 changes: 0 additions & 9 deletions install_protobuf210.sh

This file was deleted.

9 changes: 9 additions & 0 deletions install_protobuf215.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh -e
set -x #echo on
cd ~
wget -nv --no-check-certificate --content-disposition https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-linux-x86_64.zip
unzip protoc-21.5-linux-x86_64.zip -d protoc-21.5-linux-x86_64
mv protoc-21.5-linux-x86_64/bin/* /usr/local/bin/
mv protoc-21.5-linux-x86_64/include/* /usr/local/include/
cd ~
rm -rf protoc-21.5-linux-x86_64*
8 changes: 5 additions & 3 deletions install_python3913.sh → install_python3106.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ 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.13/Python-3.9.13.tar.xz
tar xf Python-3.9.13.tar.xz
cd Python-3.9.13
wget -nv https://www.python.org/ftp/python/3.10.6/Python-3.10.6.tar.xz
tar xf Python-3.10.6.tar.xz
cd Python-3.10.6
export CFLAGS=$(pkg-config --cflags openssl11)
export LDFLAGS=$(pkg-config --libs openssl11)
./configure --prefix=/usr/local
make install -j$(nproc)
cd ~
Expand Down

0 comments on commit fe00eb3

Please sign in to comment.