Skip to content

Commit

Permalink
Merge pull request #5 from pelias/fix-dependencies
Browse files Browse the repository at this point in the history
Fix dependencies for wof libpostal-service build
  • Loading branch information
orangejulius authored Nov 3, 2021
2 parents 7e67cca + ddf3dd7 commit aaf0586
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# build the libpostal-server binary separately
FROM pelias/libpostal_baseimage as builder

RUN apt-get update && apt-get install -y make pkg-config

# install go
RUN curl https://dl.google.com/go/go1.11.linux-amd64.tar.gz | tar -C /usr/local -xz
ENV PATH="$PATH:/usr/local/go/bin"
Expand All @@ -15,6 +17,8 @@ FROM pelias/libpostal_baseimage

COPY --from=builder /code/go-whosonfirst-libpostal/bin/wof-libpostal-server /bin/

RUN ldconfig

USER pelias

ENV PORT 4400
Expand Down

0 comments on commit aaf0586

Please sign in to comment.