22 lines
399 B
Docker
22 lines
399 B
Docker
# Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable)
|
|
FROM alpine:latest
|
|
|
|
# Install C compiler and libsoup development libraries
|
|
RUN apk --no-cache add \
|
|
gcc \
|
|
musl-dev \
|
|
libsoup-dev \
|
|
glib-dev \
|
|
make \
|
|
ca-certificates
|
|
|
|
WORKDIR /app
|
|
|
|
COPY uncloseai.c .
|
|
COPY Makefile .
|
|
|
|
# Compile the application
|
|
RUN make
|
|
|
|
# Run the examples
|
|
CMD ["./uncloseai"]
|