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

Do not use dead symlink in repository #226

Merged
merged 1 commit into from
Mar 25, 2024
Merged
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
9 changes: 5 additions & 4 deletions 10.11/Dockerfile.c8s
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.11/root-common /
COPY 10.11/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.11/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.11/Dockerfile.c9s
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.11/root-common /
COPY 10.11/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.11/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.11/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ COPY 10.11/root-common /
COPY 10.11/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.11/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -63,10 +68,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.11/Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.11/root-common /
COPY 10.11/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.11/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.11/Dockerfile.rhel9
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.11/root-common /
COPY 10.11/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.11/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ COPY 10.3/root-common /
COPY 10.3/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.3/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -69,10 +74,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.3/Dockerfile.c8s
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.3/root-common /
COPY 10.3/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.3/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.3/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ COPY 10.3/root-common /
COPY 10.3/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.3/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -64,10 +69,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.3/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ COPY 10.3/root-common /
COPY 10.3/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.3/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -70,10 +75,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.3/Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.3/root-common /
COPY 10.3/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.3/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ COPY 10.5/root-common /
COPY 10.5/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.5/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -69,10 +74,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.5/Dockerfile.c8s
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.5/root-common /
COPY 10.5/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.5/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.5/Dockerfile.c9s
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.5/root-common /
COPY 10.5/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.5/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.5/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ COPY 10.5/root-common /
COPY 10.5/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.5/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -64,10 +69,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.5/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ COPY 10.5/root-common /
COPY 10.5/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.5/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -70,10 +75,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.5/Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ COPY 10.5/root-common /
COPY 10.5/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.5/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -61,10 +66,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
9 changes: 5 additions & 4 deletions 10.5/Dockerfile.rhel9
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ COPY 10.5/root-common /
COPY 10.5/s2i-common/bin/ $STI_SCRIPTS_PATH
COPY 10.5/root /

# Hard links are not supported in Testing Farm approach during sync to guest
# operation system. Therefore tests are failing on error
# /usr/libexec/s2i/run no such file or directory
RUN ln -s /bin/run-mysqld $STI_SCRIPTS_PATH/run

# this is needed due to issues with squash
# when this directory gets rm'd by the container-setup
# script.
Expand All @@ -60,10 +65,6 @@ RUN rm -rf /etc/my.cnf.d/* && \
/usr/libexec/container-setup && \
rpm-file-permissions

# Not using VOLUME statement since it's not working in OpenShift Online:
# https://github.com/sclorg/httpd-container/issues/30
# VOLUME ["/var/lib/mysql/data"]

USER 27

ENTRYPOINT ["container-entrypoint"]
Expand Down
1 change: 0 additions & 1 deletion s2i-common/bin/run

This file was deleted.