We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
# Install the things we want to stick around RUN apk add --no-cache \ libgcc \ libstdc++ \ boost-filesystem \ boost-system \ boost-thread \ expat \ libbz2 \ postgresql-libs \ libpq \ geos \ proj \ lua5.2 \ lua5.2-libs # Install develop tools and dependencies, build osm2pgsql and remove develop tools and dependencies RUN apk add --no-cache --virtual .osm2pgsql-deps\ make \ cmake \ expat-dev \ g++ \ git \ boost-dev \ zlib-dev \ bzip2-dev \ proj-dev \ geos-dev \ lua5.2-dev \ postgresql-dev &&\ cd $HOME &&\ mkdir src &&\ cd src &&\ git clone --depth 1 --branch $OSM2PGSQL_VERSION https://github.com/openstreetmap/osm2pgsql.git &&\ cd osm2pgsql &&\ mkdir build &&\ cd build &&\ cmake -DLUA_LIBRARY=/usr/lib/liblua-5.2.so.0 .. &&\ make &&\ make install &&\ cd $HOME &&\ rm -rf src &&\ apk --purge del .osm2pgsql-deps
Also I would suggest to include osmctools which are not available in Alpine but useful for osmconvert
osmctools
osmconvert
RUN apk add --no-cache --virtual .osmctools-deps make g++ git autoconf automake libtool zlib-dev && \ git clone --depth 1 https://gitlab.com/osm-c-tools/osmctools.git && \ cd osmctools && autoreconf --install && ./configure && make install &&\ rm -rf /osmctools &&\ apk --purge del .osmctools-deps
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Also I would suggest to include
osmctools
which are not available in Alpine but useful forosmconvert
The text was updated successfully, but these errors were encountered: