Skip to content

Commit

Permalink
Build mvfst interop image using gcc/g++ 10
Browse files Browse the repository at this point in the history
Summary:
Folly now requires gcc-10.

The interop image is using Ubuntu 20.04 which defaults to gcc-9 but has gcc-10 in the repos.

Reviewed By: lnicco

Differential Revision: D59295229

fbshipit-source-id: d5fdcd25ecdfdca3b83903ce2ad4c8a96f1b42af
  • Loading branch information
jbeshay authored and facebook-github-bot committed Jul 2, 2024
1 parent 66f3fad commit 346775d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion proxygen/httpserver/samples/hq/quic-interop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ RUN apt-get update
RUN apt-get --yes --fix-missing update

# Get and build proxygen with HTTP/3 support
RUN apt-get install --yes wget net-tools iputils-ping tcpdump ethtool iperf git sudo cmake python3 libssl-dev m4 zlib1g-dev gcc g++
RUN apt-get install --yes wget net-tools iputils-ping tcpdump ethtool iperf git sudo cmake python3 libssl-dev m4 zlib1g-dev gcc-10 g++-10
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-10 100
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-10 100
RUN mkdir proxygen
COPY . /proxygen
RUN cd proxygen && ./getdeps.sh --no-tests --allow-system-packages
Expand Down

0 comments on commit 346775d

Please sign in to comment.