Skip to content

Commit

Permalink
fix build debian 8
Browse files Browse the repository at this point in the history
  • Loading branch information
dutor committed Jun 3, 2021
1 parent 4820f2a commit f9e159d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
6 changes: 1 addition & 5 deletions docker/build/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
arch=$(shell uname -m)
ifeq ($(arch),aarch64)
tags=centos-7 debian-9
else
tags=centos-7 debian-8
endif
tags=centos-7 debian-8

all: $(tags)
print:
Expand Down
6 changes: 1 addition & 5 deletions docker/images/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
arch=$(shell uname -m)
ifeq ($(arch),aarch64)
tags=centos-7 debian-9
else
tags=centos-7 debian-8
endif
tags=centos-7 debian-8

all: $(tags)
print:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM arm64v8/debian:9
FROM arm64v8/debian:8
SHELL ["/bin/bash", "-c"]
RUN echo "deb http://archive.debian.org/debian/ jessie main contrib non-free" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y make \
git \
Expand All @@ -23,7 +24,7 @@ RUN apt-get install -y make \
flex \
gperf \
gettext --force-yes
RUN apt-get install -y pxz
RUN apt-get install -y pxz --force-yes

ENV NG_URL=https://raw.githubusercontent.com/vesoft-inc/nebula-gears/master/install
ENV OSS_UTIL_URL='https://gosspublic.alicdn.com/ossutil/1.7.0/ossutilarm64?spm=a2c63.p38356.879954.15.c0942454HuAZDI'
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ then
elif [[ $this_arch = 'aarch64' ]]
then
CentOS_libc_preset=( 2.17 )
Debian_libc_preset=( 2.24 )
Debian_libc_preset=( 2.19 )
else
echo "Architecture $this_arch is not supported" 1>&2
exit 1
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-llvm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ then
elif [[ $this_arch = 'aarch64' ]]
then
CentOS_libc_preset=( 2.17 )
Debian_libc_preset=( 2.24 )
Debian_libc_preset=( 2.19 )
else
echo "Architecture $this_arch is not supported" 1>&2
exit 1
Expand Down

0 comments on commit f9e159d

Please sign in to comment.