uncloseai.com/public/languages/cpp/libcurl/Dockerfile

25 lines
513 B
Docker

# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Alpine version (checked 2025-10-12: alpine:3.21 is latest stable)
FROM alpine:latest
# Install C++ compiler and libcurl development libraries
RUN apk --no-cache add \
g++ \
musl-dev \
curl-dev \
make \
ca-certificates
WORKDIR /app
COPY uncloseai.cpp .
COPY Makefile .
# Compile the application
RUN make
# Run the examples
CMD ["./uncloseai"]