From b4ae59b417151e911cc431b92e27166fa07ac02a Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Sun, 8 Mar 2020 09:22:39 +0100 Subject: [PATCH] Update from upstream and switch to f32. --- Dockerfile | 4 ++-- README.md | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index be89a8e..c92b668 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # This image is the base image for all OpenShift v3 language container images. -FROM registry.fedoraproject.org/f30/s2i-core:latest +FROM registry.fedoraproject.org/f32/s2i-core:latest ENV SUMMARY="Base image with essential libraries and tools used as a base for \ builder images like perl, python, ruby, etc." \ @@ -30,6 +30,7 @@ RUN INSTALL_PKGS="autoconf \ gdb \ git \ libcurl-devel \ + libpq-devel \ libxml2-devel \ libxslt-devel \ lsof \ @@ -38,7 +39,6 @@ RUN INSTALL_PKGS="autoconf \ npm \ openssl-devel \ patch \ - postgresql-devel \ procps-ng \ sqlite-devel \ unzip \ diff --git a/README.md b/README.md index 13e4efe..7b4156a 100644 --- a/README.md +++ b/README.md @@ -47,22 +47,23 @@ Two examples: * If you specify `BASH_ENV`, then all your `#!/bin/bash` scripts do not need to call `scl enable`. * If you specify `PROMPT_COMMAND`, then on execution of the -`docker exec ... /bin/bash` command, the collection will be automatically enabled. +`podman exec ... /bin/bash` command, the collection will be automatically enabled. *Note*: Executables in Software Collections packages (e.g., `ruby`) are not directly in a directory named in the `PATH` environment variable. This means that you cannot do: - $ docker exec ... ruby + $ podman exec ... ruby but must instead do: - $ docker exec ... /bin/bash -c ruby + $ podman exec ... /bin/bash -c ruby The `/bin/bash -c`, along with the setting the appropriate environment variable, ensures the correct `ruby` executable is found and invoked. +Note: while the examples in this README are calling `podman`, you can replace any such calls by `docker` with the same arguments Usage ------------------------ @@ -82,7 +83,7 @@ $ make build VERSIONS=base TARGET=rhel7 This image is available on DockerHub. To download it run: ```console -docker pull sclorg/s2i-base-centos7 +podman pull sclorg/s2i-base-centos7 ``` To build a Base image from scratch run: @@ -101,4 +102,5 @@ See also -------- Dockerfile and other sources are available on https://github.com/sclorg/s2i-base-container. In that repository you also can find another variants of S2I base Dockerfiles. -Dockerfile for CentOS is called Dockerfile, Dockerfile for RHEL is called Dockerfile.rhel7. +The Dockerfile for CentOS is called Dockerfile, the Dockerfile for RHEL7 is called Dockerfile.rhel7, +the Dockerfile for RHEL8 is called Dockerfile.rhel8 and the Dockerfile for Fedora is Dockerfile.fedora.