mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Previous changes were wrongfully made in fsm.h and type_traits.h instead of in their generator counterparts. Add CI check to ensure generated files are in sync.
21 lines
615 B
Docker
21 lines
615 B
Docker
ARG BASE_IMAGE_NAME="clang:latest"
|
|
|
|
FROM ${BASE_IMAGE_NAME}
|
|
|
|
ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="3.31.7"
|
|
|
|
# Optionally install the cmake for vcpkg
|
|
COPY ./reinstall-cmake.sh /tmp/
|
|
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get -y install --no-install-recommends \
|
|
git \
|
|
wget \
|
|
python3-cogapp \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
|
|
chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
|
|
fi \
|
|
&& rm -f /tmp/reinstall-cmake.sh
|