libevent-libevent
SUCCESS
2m 37s
History Source
SummaryIterations1Transcript4Dockerfile
01Iteration 1
WRITEWriteFile· step #1
1s
Dockerfile754 bytes written
text29 lines · 754 chars
# Built for Libevent - build from source using CMake on Ubuntu Jammy
FROM ubuntu:jammy-20260210.1

# Install required build tools and libraries
RUN apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        build-essential \
        cmake \
        pkg-config \
        libmbedtls-dev \
        libssl-dev \
        zlib1g-dev \
        ca-certificates \
    && rm -rf /var/lib/apt/lists/*

# Set working directory to the repository root inside the image
WORKDIR /libevent

# Copy the entire repository into the image
COPY . .

# Build the project from source
RUN mkdir -p build \
    && cmake -S . -B build \
    && cmake --build build

# Default to an interactive shell for inspection
CMD ["/bin/bash"]
WRITEWriteFile· step #2
0s
..dockerignore240 bytes written
dockerignore27 lines · 240 chars
# Docker build ignore
.git
.gitignore
build/
dist/
cmake-build-*
CMakeFiles/
CMakeCache.txt
Makefile
makefile
*.tar.gz
*.tar.bz2
*.log
*.pyc
*.pyo
*.swp
*.swo
*.o
*.so
*.dll
*.dSYM
pytest_cache/
*.coverage
coverage/
.DS_Store
node_modules/
WRITEWriteFile· step #3
0s
.dockerignore240 bytes written
dockerignore27 lines · 240 chars
# Docker build ignore
.git
.gitignore
build/
dist/
cmake-build-*
CMakeFiles/
CMakeCache.txt
Makefile
makefile
*.tar.gz
*.tar.bz2
*.log
*.pyc
*.pyo
*.swp
*.swo
*.o
*.so
*.dll
*.dSYM
pytest_cache/
*.coverage
coverage/
.DS_Store
node_modules/
VERIFYVerifyBuild· step #4
1m 35s
VerifyBuildaccepted
Smoke [PASS]: test -d /libevent/build && ( [ -f /libevent/build/Makefile ] || [ -f /libevent/build/build.ninja ] )
Smoke [PASS]: test -f /libevent/build/CMakeCache.txt