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

Adding new Dockerfile that can be use to build any Centos 7.x docker … #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion images/centos7.4/Dockerfile → images/centos7.x/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM centos:7.4.1708
ARG BASE_IMAGE=centos:7.8.2003
FROM ${BASE_IMAGE}
ENV container docker

# Delete a number of unit files which might cause issues.
Expand Down
20 changes: 20 additions & 0 deletions images/centos7.x/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

Instructions to build Centos 7.x images to use in a clusterdock topology
========================================================================

To build a centos 7.x image, use the folowing command.

``docker build . -t clusterdock/topology_nodebase:centos7.8 --build-arg BASE_IMAGE=centos7.8.2003``

The build-arg BASE_IMAGE can take any valid centos 7.x tags from the official centos repo on docker hub. Some examples
are

========== ===============
Version Tag
========== ===============
Centos 7.4 centos7.4.1708
Centos 7.5 centos7.5.1804
Centos 7.6 centos7.6.1810
Centos 7.8 centos7.8.2003
========== ===============

File renamed without changes.
File renamed without changes.