Basic working version without persistent storage
This commit is contained in:
parent
cae62ce7d2
commit
a2fcbb4224
8 changed files with 83 additions and 25 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM alpine:3.16.3 AS builder
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
build-base \
|
||||
make \
|
||||
cmake \
|
||||
boost1.78-static
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . ./
|
||||
|
||||
RUN make prod && \
|
||||
strip build/Release/lander && \
|
||||
[ "$(readelf -d build/Release/lander | grep NEEDED | wc -l)" = 0 ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue