21 lines
377 B
Docker
21 lines
377 B
Docker
# Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable)
|
|
FROM alpine:3.20
|
|
|
|
# Install C++ compiler and Boost libraries
|
|
RUN apk --no-cache add \
|
|
g++ \
|
|
make \
|
|
boost1.84-dev \
|
|
openssl-dev \
|
|
ca-certificates
|
|
|
|
WORKDIR /app
|
|
|
|
COPY uncloseai.cpp .
|
|
COPY Makefile .
|
|
|
|
# Compile the application
|
|
RUN make
|
|
|
|
# Run the examples
|
|
CMD ["./uncloseai"]
|