Skip to content
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
1 change: 0 additions & 1 deletion 2.4-micro/.build-args-c9s

This file was deleted.

Empty file removed 2.4-micro/.exclude-c8s
Empty file.
1 change: 0 additions & 1 deletion 2.4-micro/2.4-micro

This file was deleted.

9 changes: 4 additions & 5 deletions 2.4-micro/Dockerfile.c10s
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM quay.io/centos/centos:stream10-development AS build
RUN mkdir -p /mnt/rootfs
RUN MICRO_PKGS="coreutils-single glibc-minimal-langpack" && \
INSTALL_PKGS="${MICRO_PKGS} httpd-core mod_ssl findutils hostname nss_wrapper-libs redhat-logos-httpd" && \
dnf install --installroot /mnt/rootfs ${INSTALL_PKGS} --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
dnf install --installroot /mnt/rootfs ${INSTALL_PKGS} --releasever 10 --setopt install_weak_deps=false --nodocs -y && \
dnf -y --installroot /mnt/rootfs clean all && \
rm -rf /mnt/rootfs/var/cache/* /mnt/rootfs/var/log/dnf* /mnt/rootfs/var/log/yum.*

Expand Down Expand Up @@ -60,13 +60,12 @@ ENV HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ \
HTTPD_DATA_ORIG_PATH=/var/www \
HTTPD_LOG_PATH=/var/log/httpd

COPY ${HTTPD_VERSION}-micro/s2i/bin/ ${STI_SCRIPTS_PATH}
COPY ${HTTPD_VERSION}-micro/root /
COPY ${HTTPD_VERSION}-micro/core-scripts/usr /usr
COPY 2.4-micro/s2i/bin/ ${STI_SCRIPTS_PATH}
COPY 2.4-micro/root /
COPY 2.4-micro/core-scripts/usr /usr

WORKDIR ${HOME}

# Add default user and prepare httpd
RUN useradd -u 1001 -r -g 0 -d ${HOME} -c "Default Application User" default && \
chown -R 1001:0 ${APP_ROOT} && \
httpd -v | grep -qe "Apache/${HTTPD_VERSION}" && echo "Found VERSION ${HTTPD_VERSION}" && \
Expand Down
7 changes: 3 additions & 4 deletions 2.4-micro/Dockerfile.c9s
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ ENV HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ \
HTTPD_DATA_ORIG_PATH=/var/www \
HTTPD_LOG_PATH=/var/log/httpd

COPY ${HTTPD_VERSION}-micro/s2i/bin/ ${STI_SCRIPTS_PATH}
COPY ${HTTPD_VERSION}-micro/root /
COPY ${HTTPD_VERSION}-micro/core-scripts/usr /usr
COPY 2.4-micro/s2i/bin/ ${STI_SCRIPTS_PATH}
COPY 2.4-micro/root /
COPY 2.4-micro/core-scripts/usr /usr

WORKDIR ${HOME}

# Add default user and prepare httpd
RUN useradd -u 1001 -r -g 0 -d ${HOME} -c "Default Application User" default && \
chown -R 1001:0 ${APP_ROOT} && \
httpd -v | grep -qe "Apache/${HTTPD_VERSION}" && echo "Found VERSION ${HTTPD_VERSION}" && \
Expand Down
7 changes: 3 additions & 4 deletions 2.4-micro/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ ENV HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ \
HTTPD_DATA_ORIG_PATH=/var/www \
HTTPD_LOG_PATH=/var/log/httpd

COPY ${HTTPD_VERSION}-micro/s2i/bin/ ${STI_SCRIPTS_PATH}
COPY ${HTTPD_VERSION}-micro/root /
COPY ${HTTPD_VERSION}-micro/core-scripts/usr /usr
COPY 2.4-micro/s2i/bin/ ${STI_SCRIPTS_PATH}
COPY 2.4-micro/root /
COPY 2.4-micro/core-scripts/usr /usr

WORKDIR ${HOME}

# Add default user and prepare httpd
RUN useradd -u 1001 -r -g 0 -d ${HOME} -c "Default Application User" default && \
chown -R 1001:0 ${APP_ROOT} && \
httpd -v | grep -qe "Apache/${HTTPD_VERSION}" && echo "Found VERSION ${HTTPD_VERSION}" && \
Expand Down
2 changes: 1 addition & 1 deletion 2.4-micro/core-scripts
1 change: 1 addition & 0 deletions 2.4-micro/root
216 changes: 0 additions & 216 deletions 2.4-micro/root/usr/share/container-scripts/httpd/common.sh

This file was deleted.

1 change: 1 addition & 0 deletions 2.4-micro/s2i
1 change: 1 addition & 0 deletions 2.4-micro/test
1 change: 0 additions & 1 deletion 2.4-micro/test/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/check_imagestreams.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/conftest.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/examples

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/imagestreams

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/run

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/run-openshift-pytest

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/run-openshift-remote-cluster

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/run-pytest

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/sample-test-app

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/self-signed-ssl

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/settings.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test-lib-httpd.sh

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test-lib-openshift.sh

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test-lib-remote-openshift.sh

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test-lib.sh

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_container_httpd.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_container_httpd_s2i.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_ocp_ex_template.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_ocp_imagestream_s2i.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_ocp_imagestreams.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_ocp_integration.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_ocp_shared_helm_imagestreams.py

This file was deleted.

1 change: 0 additions & 1 deletion 2.4-micro/test/test_ocp_shared_helm_template.py

This file was deleted.

1 change: 1 addition & 0 deletions 2.4/root
18 changes: 0 additions & 18 deletions 2.4/root/usr/bin/run-httpd

This file was deleted.

Loading