Compare commits
9 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf95694b48 | ||
| 99b5a12c78 | |||
| 7af55be07f | |||
|
|
7111e41a28 | ||
|
|
8e5edc37bb | ||
|
|
9b4236da8b | ||
|
|
85e37db987 | ||
|
|
4fded5c74d | ||
|
|
b4ae59b417 |
4 changed files with 37 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# This image is the base image for all OpenShift v3 language container images.
|
# 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 \
|
ENV SUMMARY="Base image with essential libraries and tools used as a base for \
|
||||||
builder images like perl, python, ruby, etc." \
|
builder images like perl, python, ruby, etc." \
|
||||||
|
|
@ -30,6 +30,7 @@ RUN INSTALL_PKGS="autoconf \
|
||||||
gdb \
|
gdb \
|
||||||
git \
|
git \
|
||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
|
libpq-devel \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
libxslt-devel \
|
libxslt-devel \
|
||||||
lsof \
|
lsof \
|
||||||
|
|
@ -38,7 +39,6 @@ RUN INSTALL_PKGS="autoconf \
|
||||||
npm \
|
npm \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
patch \
|
patch \
|
||||||
postgresql-devel \
|
|
||||||
procps-ng \
|
procps-ng \
|
||||||
sqlite-devel \
|
sqlite-devel \
|
||||||
unzip \
|
unzip \
|
||||||
|
|
|
||||||
12
README.md
12
README.md
|
|
@ -47,22 +47,23 @@ Two examples:
|
||||||
* If you specify `BASH_ENV`, then all your `#!/bin/bash` scripts
|
* If you specify `BASH_ENV`, then all your `#!/bin/bash` scripts
|
||||||
do not need to call `scl enable`.
|
do not need to call `scl enable`.
|
||||||
* If you specify `PROMPT_COMMAND`, then on execution of the
|
* 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*:
|
*Note*:
|
||||||
Executables in Software Collections packages (e.g., `ruby`)
|
Executables in Software Collections packages (e.g., `ruby`)
|
||||||
are not directly in a directory named in the `PATH` environment variable.
|
are not directly in a directory named in the `PATH` environment variable.
|
||||||
This means that you cannot do:
|
This means that you cannot do:
|
||||||
|
|
||||||
$ docker exec <cid> ... ruby
|
$ podman exec <cid> ... ruby
|
||||||
|
|
||||||
but must instead do:
|
but must instead do:
|
||||||
|
|
||||||
$ docker exec <cid> ... /bin/bash -c ruby
|
$ podman exec <cid> ... /bin/bash -c ruby
|
||||||
|
|
||||||
The `/bin/bash -c`, along with the setting the appropriate environment variable,
|
The `/bin/bash -c`, along with the setting the appropriate environment variable,
|
||||||
ensures the correct `ruby` executable is found and invoked.
|
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
|
Usage
|
||||||
------------------------
|
------------------------
|
||||||
|
|
@ -82,7 +83,7 @@ $ make build VERSIONS=base TARGET=rhel7
|
||||||
This image is available on DockerHub. To download it run:
|
This image is available on DockerHub. To download it run:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker pull sclorg/s2i-base-centos7
|
podman pull quay.io/centos7/s2i-base-centos7
|
||||||
```
|
```
|
||||||
|
|
||||||
To build a Base image from scratch run:
|
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.
|
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.
|
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.
|
||||||
|
|
|
||||||
27
bot-cfg.yml
Normal file
27
bot-cfg.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
version: "1"
|
||||||
|
|
||||||
|
betka:
|
||||||
|
# is betka enabled for this repository
|
||||||
|
# optional - defaults to false
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# optional
|
||||||
|
notifications:
|
||||||
|
email_addresses: [phracek@redhat.com]
|
||||||
|
|
||||||
|
# Specify if master branch in upstream repository is synced
|
||||||
|
master_checker: true
|
||||||
|
# Should pull requests be synced?
|
||||||
|
# optional
|
||||||
|
pr_checker: false
|
||||||
|
# Either 'upstream_branch_name' or 'upstream_git_path' has to be specified
|
||||||
|
# Branch name which is used for sync
|
||||||
|
upstream_branch_name: master
|
||||||
|
# Path to directory with dockerfile withing upstream repository
|
||||||
|
upstream_git_path: "base"
|
||||||
|
# Github comment message to enforce sync of a pull request
|
||||||
|
# required if pr_checker is true otherwise optional
|
||||||
|
pr_comment_message: "[test]"
|
||||||
|
# optional
|
||||||
|
image_url: quay.io/rhscl/cwt-generator
|
||||||
|
|
||||||
2
test/run
2
test/run
|
|
@ -6,7 +6,7 @@
|
||||||
# IMAGE_NAME specifies a name of the candidate image used for testing.
|
# IMAGE_NAME specifies a name of the candidate image used for testing.
|
||||||
# The image has to be available before this script is executed.
|
# The image has to be available before this script is executed.
|
||||||
#
|
#
|
||||||
IMAGE_NAME=${IMAGE_NAME-centos/s2i-base-centos7-candidate}
|
test -n "${IMAGE_NAME-}" || { echo 'make sure $IMAGE_NAME is defined'; exit 1; }
|
||||||
|
|
||||||
test_docker_run_usage() {
|
test_docker_run_usage() {
|
||||||
echo "Testing 'docker run' usage..."
|
echo "Testing 'docker run' usage..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue