-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build under centos 8 and ubuntu 20 (#100)
- Loading branch information
1 parent
3833214
commit ad4fc7a
Showing
5 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# CLion remote docker environment (How to build docker container, run and stop it) | ||
# | ||
# Build: | ||
# docker build -t build/centos-8/cpp-env:1.0 -f Dockerfile.centos8-cpp-env . | ||
|
||
FROM centos:8 | ||
|
||
RUN yum -y update && yum -y install dnf-plugins-core && yum config-manager --set-enabled powertools && yum -y install \ | ||
openssh-server \ | ||
make \ | ||
autoconf \ | ||
automake \ | ||
dos2unix \ | ||
gcc \ | ||
gcc-c++ \ | ||
gdb \ | ||
clang \ | ||
cmake \ | ||
rsync \ | ||
tar \ | ||
python39 \ | ||
doxygen \ | ||
graphviz \ | ||
swig \ | ||
ninja-build \ | ||
wget \ | ||
&& yum clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Build and run: | ||
# docker build -t build/ubuntu-20.04/cpp-env:1.0 -f Dockerfile.ubuntu20-cpp-env . | ||
|
||
FROM ubuntu:20.04 | ||
|
||
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get -y install tzdata | ||
RUN apt-get update && apt-get -y install \ | ||
build-essential \ | ||
gcc \ | ||
g++ \ | ||
gdb \ | ||
clang \ | ||
make \ | ||
ninja-build \ | ||
cmake \ | ||
autoconf \ | ||
automake \ | ||
locales-all \ | ||
dos2unix \ | ||
rsync \ | ||
tar \ | ||
python \ | ||
python-dev \ | ||
doxygen \ | ||
graphviz \ | ||
swig \ | ||
wget \ | ||
&& apt-get clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters