moriire commited on
Commit
314a72a
·
verified ·
1 Parent(s): 5a6069f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -12,7 +12,14 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
12
  gnupg2 \
13
  wget
14
 
15
- RUN apt install -y gcc-11 g++-11
 
 
 
 
 
 
 
16
 
17
  WORKDIR /code
18
 
 
12
  gnupg2 \
13
  wget
14
 
15
+ # Add PPA for gcc-11, update packages, install gcc-11, g++-11, update pip and setuptools, install build-essential
16
+ RUN add-apt-repository ppa:ubuntu-toolchain-r/test
17
+ RUN apt update
18
+ RUN apt install gcc-11 g++-11
19
+ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11
20
+ RUN pip install --upgrade pip
21
+ RUN pip install --upgrade setuptools wheel
22
+ RUN apt-get install build-essential
23
 
24
  WORKDIR /code
25