Skip to content

Commit

Permalink
tools/docker: cleaning alma and rocky
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 6, 2024
1 parent 634c6b5 commit 9c67661
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion tools/docker/test/almalinux-9/cpp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ FROM almalinux:9
#############
## SETUP ##
#############
#ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y groupinstall 'Development Tools' \
&& dnf -y install zlib-devel cmake \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD ["/usr/bin/bash"]
#CMD ["/usr/bin/bash"]

WORKDIR /root
ADD or-tools_amd64_almalinux-9_cpp_v*.tar.gz .
Expand Down
1 change: 1 addition & 0 deletions tools/docker/test/almalinux-9/dotnet.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN dnf -y update \
&& dnf -y install zlib-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf
#CMD ["/usr/bin/bash"]

# Install .Net
RUN dnf -y update \
Expand Down
3 changes: 2 additions & 1 deletion tools/docker/test/almalinux-9/java.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ RUN dnf -y update \
&& dnf -y install zlib-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf
#CMD ["/usr/bin/bash"]

# Install Java 8 SDK
RUN dnf -y update \
&& dnf -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel maven \
&& dnf clean all \
&& rm -rf /var/cache/dnf
ENV JAVA_HOME=/usr/lib/jvm/java
#ENV JAVA_HOME=/usr/lib/jvm/java

WORKDIR /root
ADD or-tools_amd64_almalinux-9_java_v*.tar.gz .
Expand Down
3 changes: 2 additions & 1 deletion tools/docker/test/almalinux-9/python.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ FROM almalinux:9
#############
## SETUP ##
#############
#ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y groupinstall 'Development Tools' \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD ["/usr/bin/bash"]
#CMD ["/usr/bin/bash"]

# Install Python
RUN dnf -y update \
Expand Down
3 changes: 2 additions & 1 deletion tools/docker/test/rockylinux-9/cpp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ FROM rockylinux:9
#############
## SETUP ##
#############
#ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y groupinstall 'Development Tools' \
&& dnf -y install zlib-devel cmake \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD ["/usr/bin/bash"]
#CMD ["/usr/bin/bash"]

WORKDIR /root
ADD or-tools_amd64_rockylinux-9_cpp_v*.tar.gz .
Expand Down
1 change: 1 addition & 0 deletions tools/docker/test/rockylinux-9/dotnet.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN dnf -y update \
&& dnf -y install zlib-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf
#CMD ["/usr/bin/bash"]

# Install .Net
RUN dnf -y update \
Expand Down
3 changes: 2 additions & 1 deletion tools/docker/test/rockylinux-9/java.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ RUN dnf -y update \
&& dnf -y install zlib-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf
#CMD ["/usr/bin/bash"]

# Install Java 8 SDK
RUN dnf -y update \
&& dnf -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel maven \
&& dnf clean all \
&& rm -rf /var/cache/dnf
ENV JAVA_HOME=/usr/lib/jvm/java
#ENV JAVA_HOME=/usr/lib/jvm/java

WORKDIR /root
ADD or-tools_amd64_rockylinux-9_java_v*.tar.gz .
Expand Down
3 changes: 2 additions & 1 deletion tools/docker/test/rockylinux-9/python.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ FROM rockylinux:9
#############
## SETUP ##
#############
#ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y groupinstall 'Development Tools' \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD ["/usr/bin/bash"]
#CMD ["/usr/bin/bash"]

# Install Python
RUN dnf -y update \
Expand Down

0 comments on commit 9c67661

Please sign in to comment.