Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update links and version #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Examples/docker/Dockerfile.base.ubuntu.18.04
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ RUN apt-get update -y && apt-get install -y \
# set versions of libraries used and some paths
ENV ROOTDIR /usr/local/
ENV GDAL_VERSION 2.4.0
ENV CMAKE_VERSION 3.14.3
ENV CMAKE_VERSION 3.15.0
ENV POCO_VERSION 1.9.0
ENV BOOST_VERSION 1_69_0
ENV BOOST_VERSION_DOT 1.69.0
ENV FMT_VERSION 5.3.0
ENV SQLITE_VERSION 3270200
ENV SQLITE_VERSION 3370200

# set environment variables
ENV PATH /usr/local/bin:$PATH
Expand Down Expand Up @@ -90,7 +90,8 @@ RUN cd src && tar -xzf poco-${POCO_VERSION}.tar.gz && cd poco-${POCO_VERSION} \
&& cd $ROOTDIR

## Boost
ADD https://dl.bintray.com/boostorg/release/${BOOST_VERSION_DOT}/source/boost_${BOOST_VERSION}.tar.bz2 $ROOTDIR/src/
ADD https://liquidtelecom.dl.sourceforge.net/project/boost/boost/\
${BOOST_VERSION_DOT}/boost_${BOOST_VERSION}.tar.bz2 $ROOTDIR/src/
RUN cd src && tar --bzip2 -xf boost_${BOOST_VERSION}.tar.bz2 && cd boost_${BOOST_VERSION} \
&& ./bootstrap.sh --prefix=/usr/local \
&& ./b2 -j $NUM_CPU cxxstd=14 install \
Expand All @@ -110,9 +111,9 @@ RUN cd src && mkdir libfmt-${FMT_VERSION} && tar -xzf ${FMT_VERSION}.tar.gz -C
#RUN cd src && tar -xzf sqlite-autoconf-${SQLITE_VERSION}.tar.gz -C /usr/include/ \
# && cd $ROOTDIR && rm -Rf src/sqlite*

ADD https://www.sqlite.org/2019/sqlite-autoconf-${SQLITE_VERSION}.tar.gz $ROOTDIR/src/
RUN cd src && tar -xzf sqlite-autoconf-${SQLITE_VERSION}.tar.gz -C /usr/local/ \
&& cp /usr/local/sqlite-autoconf-${SQLITE_VERSION}/sqlite3.c /usr/include/ \
ADD https://www.sqlite.org/2022/\sqlite-autoconf-${SQLITE_VERSION}.tar.gz $ROOTDIR/src/
RUN cd src && tar -xzf sqlite-autoconf-${SQLITE_VERSION}.tar.gz -C /usr/local \
&& cp /usr/local/sqlite-autoconf-${SQLITE_VERSION}/sqlite3.c /usr/include \
&& cd $ROOTDIR && rm -Rf src/sqlite*

## gdal
Expand Down Expand Up @@ -147,4 +148,3 @@ RUN wget https://sourceforge.net/projects/turtle/files/turtle/1.3.1/turtle-1.3.1

#ADD http://downloads.sourceforge.net/project/turtle/turtle/1.3.1/turtle-1.3.1.tar.bz2 $ROOTDIR/src/
#RUN tar xvf turtle-1.3.0.tar.bz2 -C /usr/local/
WORKDIR $ROOTDIR/src