# Question
I'm trying to dockerize this app so that it's easier to install.
I'm compiling from master, the latest commit.
See https://github.com/meltingscales/ARRCON/blob/feature-docker/Dockerfile
I have a question about C++ compilation - What does it mean when I see the error below and how might I fix it?
melty@ubuntu-slimdragon:~/Git/ARRCON$ docker build ./
[+] Building 0.7s (10/12) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 485B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:22.04 0.3s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/8] FROM docker.io/library/ubuntu:22.04@sha256:67cadaff1dca187079fc 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 20.40kB 0.0s
=> CACHED [2/8] RUN apt update 0.0s
=> CACHED [3/8] RUN apt-get install -y gcc-10 cmake ninja-build 0.0s
=> [4/8] ADD . /app 0.1s
=> [5/8] WORKDIR /app 0.0s
=> ERROR [6/8] RUN cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja 0.2s
------
> [6/8] RUN cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja:
0.159 CMake Error at CMakeLists.txt:6 (include):
0.159 include could not find requested file:
0.159
0.159 VersionTag
0.159
0.159
0.159 CMake Error at CMakeLists.txt:9 (GET_VERSION_TAG):
0.159 Unknown CMake command "GET_VERSION_TAG".
0.159
0.159
0.159 -- Configuring incomplete, errors occurred!
------
Dockerfile:16
--------------------
14 | ENV CC=gcc-10
15 | ENV CXX=g++-10
16 | >>> RUN cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
17 | RUN cmake --build build --config Release
18 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja" did not complete successfully: exit code: 1
# Question
I'm trying to dockerize this app so that it's easier to install.
I'm compiling from
master, the latest commit.See https://github.com/meltingscales/ARRCON/blob/feature-docker/Dockerfile
I have a question about C++ compilation - What does it mean when I see the error below and how might I fix it?