Skip to content

Commit

Permalink
dont remove sources for people just installing deps on their own (val…
Browse files Browse the repository at this point in the history
…halla#4084)

* dont remove sources for people just installing deps on their own

* Update install-linux-deps.sh

* Update Dockerfile
  • Loading branch information
kevinkreiser authored May 9, 2023
1 parent a2481fb commit ac697dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENV LD_LIBRARY_PATH /usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-g
WORKDIR /usr/local/src/valhalla
COPY ./scripts/install-linux-deps.sh /usr/local/src/valhalla/scripts/install-linux-deps.sh
RUN bash /usr/local/src/valhalla/scripts/install-linux-deps.sh
RUN rm -rf /var/lib/apt/lists/*

# get the code into the right place and prepare to build it
ADD . .
Expand Down
5 changes: 2 additions & 3 deletions scripts/install-linux-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ env DEBIAN_FRONTEND=noninteractive apt-get install --yes --quiet \
python3-pip \
spatialite-bin \
unzip \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
zlib1g-dev

# build prime_server from source
# readonly primeserver_version=0.7.0
Expand All @@ -58,4 +57,4 @@ popd && \
rm -r $primeserver_dir

# for boost
python3 -m pip install --upgrade "conan<2.0.0" requests
python3 -m pip install --upgrade "conan<2.0.0" requests shapely

0 comments on commit ac697dc

Please sign in to comment.