Skip to content

Commit

Permalink
refactor: simplify Dockerfile (#49)
Browse files Browse the repository at this point in the history
* refactor: simplify Dockerfile

* fix: Dockerfile
  • Loading branch information
Erik Berkun-Drevnig authored Jan 20, 2023
1 parent 322dfe6 commit 75d4435
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM ubuntu:20.04 AS base
ENV LD_LIBRARY_PATH="/usr/local/lib/x86_64-linux-gnu"
ENV LUA_CPATH="/app/build/?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/x86_64-linux-gnu/?.so"
ARG DEBIAN_FRONTEND="noninteractive"
SHELL ["/bin/bash", "-c"]

RUN apt-get -qq -o=Dpkg::Use-Pty=0 update \
&& apt-get -qq -o=Dpkg::Use-Pty=0 install git boxes clang clangd clang-format make cmake libssl-dev libuv1-dev zlib1g-dev libluajit-5.1-dev luajit luarocks pkg-config \
Expand All @@ -21,6 +22,7 @@ WORKDIR /app/vendor/cpp-driver/build
RUN cmake .. \
&& cmake --build . \
&& cmake --install .
WORKDIR /app

FROM base AS build
COPY . /app/
Expand Down

0 comments on commit 75d4435

Please sign in to comment.