-cmake_minimum_required(VERSION 3.25.1)
+cmake_minimum_required(VERSION 3.16.3)
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "build type")
FROM $distro
RUN apt-get update \
- && apt-get install -y build-essential cmake file \
+ && DEBIAN_FRONTEND=noninteractive apt-get install -y \
+ build-essential \
+ cmake \
+ file \
&& apt-get clean
RUN apt-get update \
- && apt-get install -y libxml2-dev libcmocka-dev cppcheck \
+ && apt-get install -y \
+ libxml2-dev \
+ libcmocka-dev \
+ cppcheck \
&& apt-get clean
COPY run /app/run
RUN chmod 755 /app/run
main()
{
- local distros="debian:oldstable debian:stable debian:testing ubuntu:latest ubuntu:rolling"
+ local distros="debian:oldstable debian:stable debian:testing ubuntu:focal ubuntu:latest ubuntu:rolling"
mkdir -p build
cp builder/run build/run
-cmake_minimum_required(VERSION 3.25.1)
+cmake_minimum_required(VERSION 3.16.3)
project(feierabend VERSION 1.3.19)
if (new_str == NULL)
return NULL;
- strncpy(new_str, str, size);
+ memcpy(new_str, str, size);
return new_str;
}
-cmake_minimum_required(VERSION 3.25.1)
+cmake_minimum_required(VERSION 3.16.3)
find_library(CMOCKA cmocka REQUIRED)
find_program(CPPCHECK cppcheck REQUIRED)