Skip to content

Commit

Permalink
Update cgimap version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Sep 24, 2024
1 parent 82ef277 commit 155feac
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions images/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ RUN apt-get update && apt-get install -y nodejs yarn && \
rm -rf /var/lib/apt/lists/*

# Install openstreetmap-cgimap requirements
RUN apt-get update && apt-get -y install libpqxx-dev libfcgi-dev zlib1g-dev \
libboost-dev libboost-program-options-dev libfmt-dev \
libmemcached-dev libcrypto++-dev libargon2-dev libyajl-dev \
automake autoconf libtool && \
RUN apt-get update && apt-get -y install libxml2-dev libpqxx-dev libfcgi-dev zlib1g-dev libbrotli-dev \
libboost-program-options-dev libfmt-dev libmemcached-dev libcrypto++-dev \
libargon2-dev libyajl-dev cmake libapache2-mod-fcgid && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install cgimap
ENV cgimap /tmp/openstreetmap-cgimap
ENV CGIMAP_GITSHA=5cd3d21bebe9d205828608be4c65bbda8b464308
RUN git clone -b master https://github.com/zerebubuth/openstreetmap-cgimap.git $cgimap
RUN cd $cgimap && git checkout $CGIMAP_GITSHA
RUN cd $cgimap && \
./autogen.sh && \
./configure && \
make && \
make install
ENV CGIMAP_GITSHA=v2.0.1
RUN git clone -b master https://github.com/zerebubuth/openstreetmap-cgimap.git $cgimap \
&& cd $cgimap \
&& git checkout $CGIMAP_GITSHA \
&& rm -rf .git \
&& mkdir build \
&& cd build \
&& cmake .. \
&& cmake --build .

# Install svgo required
RUN npm install -g svgo
Expand Down

0 comments on commit 155feac

Please sign in to comment.