Skip to content

Commit

Permalink
misc: move libstdc++ upgrade from editor to base
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm174 committed Mar 14, 2022
1 parent f988231 commit c1e5599
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
9 changes: 9 additions & 0 deletions images/ubuntu/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ RUN apt-get -q update \
&& git lfs install --system --skip-repo \
&& apt-get clean

# libstdc++6 upgrade
RUN apt-get -q update \
&& apt-get -q install -y --no-install-recommends software-properties-common \
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& apt-get -q install -y --only-upgrade libstdc++6 \
&& add-apt-repository -y --remove ppa:ubuntu-toolchain-r/test \
&& apt-get -q remove -y --auto-remove software-properties-common \
&& apt-get clean

# Disable default sound card, which removes ALSA warnings
RUN /bin/echo -e 'pcm.!default {\n\
type plug\n\
Expand Down
13 changes: 0 additions & 13 deletions images/ubuntu/editor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -266,16 +266,3 @@ RUN echo "$version-$module" | grep -q -v '^2021.*linux-il2cpp' \
lld \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

#=======================================================================================
# [2021.x] libstdc++ 6 upgrade
#=======================================================================================
RUN echo "$version" | grep -q -v '^2021.' \
&& exit 0 \
|| : \
&& apt-get -q update \
&& apt-get -q install -y software-properties-common \
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& apt-get -y install --only-upgrade libstdc++6 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

0 comments on commit c1e5599

Please sign in to comment.