koh1018 commited on
Commit
cb72316
·
1 Parent(s): dd11498

GLIBC 업그레이드

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -4,6 +4,12 @@ FROM python:3.9
4
  # 2. C++ 컴파일러(gcc/g++) 버전 11과 필수 빌드 도구들을 설치.
5
  RUN apt-get update && apt-get install -y build-essential gcc-11 g++-11 cmake
6
 
 
 
 
 
 
 
7
  # 3. 파이썬의 패키지 설치 도구(pip) 자체를 최신 버전으로 업그레이드.
8
  RUN python3 -m pip install --upgrade pip setuptools wheel
9
 
 
4
  # 2. C++ 컴파일러(gcc/g++) 버전 11과 필수 빌드 도구들을 설치.
5
  RUN apt-get update && apt-get install -y build-essential gcc-11 g++-11 cmake
6
 
7
+ # GLIBC 업그레이드
8
+ RUN apt-get update && apt-get install -y software-properties-common
9
+ RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y && apt-get update
10
+ RUN apt-get install -y libc6 libc6-dev libc6-dev-i386
11
+ RUN ldd --version # GLIBC 버전 확인용 (로그에서 확인 가능)
12
+
13
  # 3. 파이썬의 패키지 설치 도구(pip) 자체를 최신 버전으로 업그레이드.
14
  RUN python3 -m pip install --upgrade pip setuptools wheel
15