Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centralize Docker images: fixed broken links and missing libraries #115

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Simpleshell3
Copy link
Contributor

Fixed broken links and compatibility issues.
To run tests, use the following commands:

  • For baseimage:
    ~# docker build -f Dockerfile.base.ubuntu.18.04 --build-arg NUM_CPU=4 -t moja/baseimage:ubuntu-18.04 .
  • For flint implementation:
    ~# docker build -f Dockerfile.flint.ubuntu.18.04 --build-arg NUM_CPU=4 --build-arg GITHUB_AT=[TOKEN] --build-arg FLINT_BRANCH=[BRANCH] -t moja/flint:ubuntu-18.04 .

Signed-off-by: Simpleshell3 <simpleshell3@gamil.com>
Signed-off-by: Simple Shell <simpleshell3@gmail.com>
Signed-off-by: Simpleshell3 <simpleshell3@gamil.com>
Signed-off-by: Simple Shell <simpleshell3@gmail.com>
Signed-off-by: Simpleshell3 <simpleshell3@gamil.com>
Copy link
Member

@HarshCasper HarshCasper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build still fails with the following error:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:11 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/usr/local/poco-1.9.2-all/cmake-build/CMakeFiles/CMakeOutput.log".
See also "/usr/local/poco-1.9.2-all/cmake-build/CMakeFiles/CMakeError.log".
The command '/bin/sh -c wget [https://pocoproject.org/releases/poco-${POCO_VERSION}/poco-${POCO_VERSION}-all.tar.gz](https://pocoproject.org/releases/poco-$%7BPOCO_VERSION%7D/poco-$%7BPOCO_VERSION%7D-all.tar.gz)     && tar -xzf poco-${POCO_VERSION}-all.tar.gz 	&& mkdir poco-${POCO_VERSION}-all/cmake-build 	&& cd poco-${POCO_VERSION}-all/cmake-build 	&& cmake -DCMAKE_BUILD_TYPE=RELEASE 			 -DCMAKE_INSTALL_PREFIX=$ROOTDIR 			 -DPOCO_UNBUNDLED=ON 			 -DPOCO_STATIC=OFF 			 -DENABLE_ENCODINGS=OFF 			 -DENABLE_ENCODINGS_COMPILER=OFF 			 -DENABLE_XML=OFF 			 -DENABLE_JSON=ON 			 -DENABLE_MONGODB=OFF 			 -DENABLE_REDIS=OFF 			 -DENABLE_PDF=OFF 			 -DENABLE_UTIL=OFF 			 -DENABLE_NET=OFF 			 -DENABLE_NETSSL=OFF 			 -DENABLE_CRYPTO=OFF 			 -DENABLE_DATA=ON 			 -DENABLE_DATA_SQLITE=ON 			 -DENABLE_DATA_MYSQL=OFF 			 -DENABLE_DATA_ODBC=OFF 			 -DENABLE_SEVENZIP=OFF 			 -DENABLE_ZIP=OFF 			 -DENABLE_PAGECOMPILER=OFF 			 -DENABLE_PAGECOMPILER_FILE2PAGE=OFF 			 -DENABLE_TESTS:BOOL=OFF .. 	&& make --quiet -j $NUM_CPU     && make --quiet install/strip     && make clean     && cd $ROOTDIR/src' returned a non-zero code: 1
Error: Process completed with exit code 1.

@Simpleshell3
Copy link
Contributor Author

Simpleshell3 commented Feb 13, 2022

@HarshCasper Can you share with me the docker files you used? These are the results from the proposed files
baselib

flintlib
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants