<commit_before>FROM ubuntu:14.04

RUN apt-get update && apt-get install -y \
  autoconf \
  automake \
  libtool \
  make \
  g++ \
  pkg-config \
  libboost-dev \
  libboost-system-dev \
  libboost-filesystem-dev \
  libboost-thread-dev \
  libexpat1-dev \
  libgeos-dev \
  libgeos++-dev \
  libpq-dev \
  libbz2-dev \
  libproj-dev \
  zlib1g-dev \
  lua5.2 \
  liblua5.2-dev\
  git


RUN git clone https://github.com/openstreetmap/osm2pgsql.git /osm2pgsql

WORKDIR /osm2pgsql

RUN ./autogen.sh && ./configure && make && make install

COPY ./osm2pgsql-entrypoint.sh /osm2pgsql

ENTRYPOINT ["/osm2pgsql-entrypoint.sh"]

CMD osm2pgsql --help<commit_msg>Fix Dockerfile for osm2pgsql<commit_after>FROM ubuntu:14.04

RUN apt-get update && apt-get install -y \
  autoconf \
  automake \
  libtool \
  make \
  g++ \
  pkg-config \
  libboost-dev \
  libboost-system-dev \
  libboost-filesystem-dev \
  libboost-thread-dev \
  libexpat1-dev \
  libgeos-dev \
  libgeos++-dev \
  libpq-dev \
  libbz2-dev \
  libproj-dev \
  zlib1g-dev \
  lua5.2 \
  liblua5.2-dev\
  git


RUN git clone https://github.com/openstreetmap/osm2pgsql.git /osm2pgsql

WORKDIR /osm2pgsql

RUN ./autogen.sh && ./configure && make && make install

COPY ./osm2pgsql-entrypoint.sh /osm2pgsql/osm2pgsql-entrypoint.sh

ENTRYPOINT ["/osm2pgsql/osm2pgsql-entrypoint.sh"]

CMD osm2pgsql --help
{'fraction_non_alphanumeric': 0.1296978629329403, 'fraction_numerical': 0.028739867354458364, 'mean_word_length': 2.6117021276595747, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2199207', 'n_tokens_mistral': 614, 'n_tokens_neox': 585, 'n_words': 100}