File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,10 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
2929 apt-transport-https \
3030 curl \
3131 file \
32- gcc \
32+ gcc-11 \
33+ g++-11 \
3334 git \
34- g++ \
3535 gnupg2 \
36- libc++1 \
3736 libgl1 \
3837 libtcmalloc-minimal4 \
3938 make \
@@ -56,7 +55,10 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
5655 jq \
5756 shellcheck \
5857 && gem install bundler \
59- && rm -rf /var/lib/apt/lists/*;
58+ && rm -rf /var/lib/apt/lists/* \
59+ && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 \
60+ && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 110
61+
6062
6163# install nodejs using n
6264RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n \
You can’t perform that action at this time.
0 commit comments