We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7d54f commit 391223dCopy full SHA for 391223d
1 file changed
Dockerfile
@@ -29,11 +29,10 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
29
apt-transport-https \
30
curl \
31
file \
32
- gcc \
+ gcc-11 \
33
+ g++-11 \
34
git \
- g++ \
35
gnupg2 \
36
- libc++1 \
37
libgl1 \
38
libtcmalloc-minimal4 \
39
make \
@@ -56,7 +55,10 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
56
55
jq \
57
shellcheck \
58
&& gem install bundler \
59
- && rm -rf /var/lib/apt/lists/*;
+ && rm -rf /var/lib/apt/lists/* \
+ && 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
+
62
63
# install nodejs using n
64
RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n \
0 commit comments