Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nicknezis committed Mar 5, 2022
1 parent d7228f1 commit c32a912
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 78 deletions.
14 changes: 0 additions & 14 deletions docker/compile/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ FROM centos:centos7

# This is passed to the heron build command via the --config flag
ENV TARGET_PLATFORM linux
<<<<<<< HEAD
ENV LC_ALL en_US.utf8
=======
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)

RUN yum -y upgrade && yum -y install centos-release-scl-rh
RUN yum -y install \
Expand All @@ -35,10 +31,7 @@ RUN yum -y install \
devtoolset-8-gcc \
devtoolset-8-gcc-c++ \
git \
<<<<<<< HEAD
=======
glibc-langpack-en \
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)
kernel-devel \
libtool \
make \
Expand All @@ -53,10 +46,7 @@ RUN yum -y install \
java-11-openjdk \
java-11-openjdk-devel

<<<<<<< HEAD
=======
ENV LC_ALL en_US.utf8
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk

ENV bazelVersion 4.2.2
Expand All @@ -79,8 +69,4 @@ RUN /usr/bin/ln -sfT /opt/rh/rh-python38/root/usr/bin/python3 /usr/bin/python3 \
&& /usr/bin/ln -sfT /opt/rh/devtoolset-8/root/bin/cpp /usr/bin/cpp

ADD bazelrc /root/.bazelrc
<<<<<<< HEAD
ADD scripts/compile-platform.sh /compile-platform.sh
=======
ADD scripts/compile-platform.sh /compile-platform.sh
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)
21 changes: 0 additions & 21 deletions docker/dist/Dockerfile.dist.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,10 @@
# under the License.

#syntax=docker/dockerfile:1.2
<<<<<<< HEAD
<<<<<<< HEAD:docker/dist/Dockerfile.dist.centos7
FROM centos:centos7
=======
FROM rockylinux:8.5
>>>>>>> 9ce047445ac (Change centos to RockyLinux-8):docker/dist/Dockerfile.dist.centos8

ENV TARGET_PLATFORM linux
ENV LC_ALL en_US.utf8
=======
FROM centos:centos7

ENV TARGET_PLATFORM linux
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)

RUN yum -y upgrade && yum -y install centos-release-scl-rh
RUN yum -y install epel-release \
Expand All @@ -42,15 +32,8 @@ RUN yum -y install epel-release \
rh-python38-python-devel \
unzip \
which \
<<<<<<< HEAD
&& yum clean all

=======
glibc-langpack-en \
&& yum clean all

ENV LC_ALL en_US.utf8
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)
ENV JAVA_HOME /usr/

RUN /usr/bin/ln -sfT /opt/rh/rh-python38/root/usr/bin/python3 /usr/bin/python \
Expand Down Expand Up @@ -82,8 +65,4 @@ ARG ZK_DIST=zookeeper-3.5.8
RUN --mount=type=bind,source=dist,target=/opt/heron-docker/ sh /opt/heron-docker/scripts/install-zookeeper.sh $ZK_DIST

ADD dist/conf/zookeeper.conf /opt/zookeeper/conf/zookeeper.conf
<<<<<<< HEAD
ADD dist/conf/sandbox.conf /etc/supervisor/conf.d/
=======
ADD dist/conf/sandbox.conf /etc/supervisor/conf.d/
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)
11 changes: 0 additions & 11 deletions docker/dist/Dockerfile.dist.rocky8
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,8 @@
# under the License.

#syntax=docker/dockerfile:1.2
<<<<<<< HEAD:docker/dist/Dockerfile.dist.centos7
FROM centos:centos7
=======
FROM rockylinux:8.5
>>>>>>> 9ce047445ac (Change centos to RockyLinux-8):docker/dist/Dockerfile.dist.centos8

<<<<<<< HEAD
ENV TARGET_PLATFORM linux
ENV LC_ALL en_US.utf8

RUN yum -y upgrade && yum -y install centos-release-scl-rh
=======
>>>>>>> 5e9468763f0 (Add glibc-langpack-en for LC_ALL)
RUN yum -y install epel-release \
&& yum -y install \
curl \
Expand Down
32 changes: 0 additions & 32 deletions docker/test/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,13 @@
# specific language governing permissions and limitations
# under the License.

<<<<<<< HEAD
<<<<<<< HEAD:docker/test/Dockerfile.centos7
FROM centos:centos7
=======
FROM rockylinux:8.5
>>>>>>> 9ce047445ac (Change centos to RockyLinux-8):docker/test/Dockerfile.centos8

# This is passed to the heron build command via the --config flag
ENV TARGET_PLATFORM linux
ENV LC_ALL en_US.utf8

<<<<<<<< HEAD:docker/test/Dockerfile.centos7
RUN yum -y upgrade && yum -y install centos-release-scl-rh
========
ENV LC_ALL en_US.utf8

RUN yum -y upgrade
>>>>>>>> b1eb04dfd33 (Documentation cleanup):docker/test/Dockerfile.rocky8
=======
FROM centos:centos7

# This is passed to the heron build command via the --config flag
ENV TARGET_PLATFORM linux

RUN yum -y upgrade && yum -y install centos-release-scl-rh
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)
RUN yum -y install \
automake \
curl \
Expand All @@ -61,12 +42,7 @@ RUN yum -y install \
wget \
which \
tree \
<<<<<<< HEAD
java-11-openjdk-devel
=======
java-11-openjdk-devel \
glibc-langpack-en
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)

RUN /usr/bin/ln -sfT /opt/rh/rh-python38/root/usr/bin/python3 /usr/bin/python3 \
&& /usr/bin/ln -sfT /opt/rh/rh-python38/root/usr/bin/python3 /usr/bin/python \
Expand All @@ -75,10 +51,6 @@ RUN /usr/bin/ln -sfT /opt/rh/rh-python38/root/usr/bin/python3 /usr/bin/python3 \
&& /usr/bin/ln -sfT /opt/rh/devtoolset-8/root/bin/g++ /usr/bin/g++ \
&& /usr/bin/ln -sfT /opt/rh/devtoolset-8/root/bin/cpp /usr/bin/cpp

<<<<<<< HEAD
=======
ENV LC_ALL en_US.utf8
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk

ENV bazelVersion 4.2.2
Expand All @@ -88,8 +60,4 @@ RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/
&& /tmp/bazel.sh

ADD bazelrc /root/.bazelrc
<<<<<<< HEAD
ADD scripts/test-platform.sh /test-platform.sh
=======
ADD scripts/test-platform.sh /test-platform.sh
>>>>>>> 65e3725aa60 (Adding in centos7 to resolve conflicts)

0 comments on commit c32a912

Please sign in to comment.