Skip to content

Commit

Permalink
server auth
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Jul 6, 2024
1 parent 99f3f91 commit 3a7c294
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ FROM golang:1.22

# args
ARG GIN_MODE=release
ARG LIBPOSTAL_CONFIGURE_FLAGS=

# Set up environment variables
ENV GIN_MODE=${GIN_MODE}
ENV GIN_MODE=${GIN_MODE} \
LIBPOSTAL_CONFIGURE_FLAGS=${LIBPOSTAL_CONFIGURE_FLAGS}

# Install packages needed to build gems
RUN apt-get update -qq && apt-get install -yq --no-install-recommends \
Expand All @@ -24,7 +26,7 @@ RUN apt-get update -qq && apt-get install -yq --no-install-recommends \
RUN git clone https://github.com/openvenues/libpostal /code/libpostal
WORKDIR /code/libpostal
RUN ./bootstrap.sh && \
./configure --datadir=/usr/share/libpostal --disable-sse2 && \
./configure --datadir=/usr/share/libpostal ${LIBPOSTAL_CONFIGURE_FLAGS} && \
make -j4 && make check && make install && \
ldconfig

Expand Down

0 comments on commit 3a7c294

Please sign in to comment.