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

remove el6 dockerfiles #89

Merged
merged 4 commits into from
Jul 10, 2020
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
59 changes: 0 additions & 59 deletions buildpack/centos6/Dockerfile

This file was deleted.

25 changes: 5 additions & 20 deletions packagingbuild/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN yum -y install \
wget

RUN yum -y install \
{%- if (version == '7' or version == '6') -%}bzr \{%- endif -%}
{%- if (version == '7') -%}bzr \{%- endif -%}
git \
mercurial \
openssh \
Expand Down Expand Up @@ -43,7 +43,7 @@ RUN yum -y install \
gcc-c++ \
glib2-devel \
glibc-devel \
{%- if (version == '7' or version == '6') -%}
{%- if (version == '7') -%}
ImageMagick \
ImageMagick-devel \
{%- endif %}
Expand All @@ -55,7 +55,7 @@ RUN yum -y install \
libwebp-devel \
libxml2-devel \
libxslt-devel \
{% if (version == '7' or version == '6') -%}
{% if (version == '7') -%}
libyaml-devel \
{%- endif -%}
make \
Expand Down Expand Up @@ -117,22 +117,7 @@ RUN echo -e "#!/bin/sh\nexit 101\n" > /usr/sbin/policy-rc.d && \
# - SSH access for build executor.
#

{% if version in ('centos6') -%}

RUN yum -y install tar xz rpmdevtools

# Install st2python from our repository
RUN wget https://bintray.com/stackstorm/el6/rpm -O /etc/yum.repos.d/stackstorm-el6.repo && \
sed -ir 's~stackstorm/el6~stackstorm/el6/stable~' /etc/yum.repos.d/stackstorm-el6.repo && \
yum -y install st2python && rm -rf /tmp/*

# Install fresh pip and co
RUN PATH=/usr/share/python/st2python/bin:$PATH bash -c \
"curl https://bootstrap.pypa.io/get-pip.py | python - virtualenv==16.6.0 pip==19.1.1 wheel setuptools; \
pip install --upgrade requests[security] venvctrl" \
&& rm -rf /root/.cache

{%- elif dist in ('centos', 'fedora') -%}
{%- if dist in ('centos', 'fedora') -%}

{% if (version == '8') -%}
# Install development tools and python3 for EL8
Expand All @@ -141,7 +126,7 @@ RUN yum -y install python3 python3-devel rpmdevtools python3-virtualenv && \

RUN pip3 install --upgrade requests[security] venvctrl && rm -rf /root/.cache

{%- elif version in ('7', '6') -%}
{%- elif version in ('7') -%}
# Install development tools and python2 for EL <=7
RUN yum -y install python2 python2-devel rpmdevtools

Expand Down
1 change: 0 additions & 1 deletion packagingbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ In these containers build environment specific for each OS distro is pre-install
[`Dockerfiles` sources](https://github.com/StackStorm/st2packaging-dockerfiles/blob/master/packagingbuild):
- Debian Wheezy
- Debian Jessie
- CentOS 6
- CentOS 7
- CentOS 8
- Ubuntu Trusty
Expand Down
99 changes: 0 additions & 99 deletions packagingbuild/centos6/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions packagingbuild/centos6/busybee

This file was deleted.

1 change: 0 additions & 1 deletion packagingbuild/centos6/busybee.pub

This file was deleted.

6 changes: 3 additions & 3 deletions packagingtest/Dockerfile.common
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN yum -y install \
wget

RUN yum -y install \
{% if (version == '7' or version == '6') -%}bzr \{% endif -%}
{% if (version == '7') -%}bzr \{% endif -%}
git \
mercurial \
openssh \
Expand Down Expand Up @@ -43,7 +43,7 @@ RUN yum -y install \
gcc-c++ \
glib2-devel \
glibc-devel \
{%- if (version == '7' or version == '6') -%}
{%- if (version == '7') -%}
ImageMagick \
ImageMagick-devel \
{%- endif %}
Expand All @@ -54,7 +54,7 @@ RUN yum -y install \
libwebp-devel \
libxml2-devel \
libxslt-devel \
{%- if (version == '7' or version == '6') -%}
{%- if (version == '7') -%}
libyaml-devel \
{%- endif %}
make \
Expand Down
2 changes: 1 addition & 1 deletion packagingtest/Dockerfile.template-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV container docker
RUN yum -y update; \
yum -y install systemd; yum clean all

RUN cd /lib/systemd/system/sysinit.target.wants/; ls -1 | grep -v systemd-tmpfiles-setup.service | xargs rm; \ {%- if (version == '6') -%}rm -f /lib/systemd/system/multi-user.target.wants/*; \{%- endif %}
RUN cd /lib/systemd/system/sysinit.target.wants/; ls -1 | grep -v systemd-tmpfiles-setup.service | xargs rm; \
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
Expand Down
1 change: 0 additions & 1 deletion packagingtest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ In these containers built artifacts are tested: StackStorm packages are installe
[`Dockerfiles` sources](https://github.com/StackStorm/st2packaging-dockerfiles/blob/master/packagingtest):
- Debian Wheezy (ssh)
- Debian Jessie (sshd)
- CentOS 6 (sshd)
- CentOS 7 (systemd)
- CentOS 8 (systemd)
- Ubuntu Trusty (upstart)
Expand Down
85 changes: 0 additions & 85 deletions packagingtest/centos6/sshd/Dockerfile

This file was deleted.

Loading