Skip to content

Commit 58f912a

Browse files
stanislav-chlebecondrej-fabry
authored andcommitted
fix ARM64 docker image build (#1370)
For building VPP was used gcc-7 which ended by failure on ARM64 platform gcc-8 and g++-8 are installed and used instead to ensure successfull build VPP is built with gcc-8 for both platform variants - x86_64 and aarch64 successfully Signed-off-by: Stanislav Chlebec <[email protected]>
1 parent 80401e6 commit 58f912a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker/dev/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ RUN apt-get update \
3737
libapr1 libmbedcrypto1 libmbedtls10 libmbedx509-0 libtool \
3838
make mc nano netcat python software-properties-common sudo supervisor \
3939
telnet unzip wget python-cffi python3-cffi \
40-
&& rm -rf /var/lib/apt/lists/*
40+
gcc-8 g++-8 \
41+
&& rm -rf /var/lib/apt/lists/* \
42+
&& rm /usr/bin/gcc \
43+
&& rm /usr/bin/g++ \
44+
&& ln -s /usr/bin/gcc-8 /usr/bin/gcc \
45+
&& ln -s /usr/bin/g++-8 /usr/bin/g++
4146

4247
# install Protobuf
4348
ARG PROTOC_VERSION=3.6.1

0 commit comments

Comments
 (0)