Skip to content

Commit

Permalink
tools/docker: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 9, 2024
1 parent 897c2bb commit 9440987
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions tools/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ help:
@echo -e "\t\t${BOLD}fedora-39${RESET}"
@echo -e "\t\t${BOLD}fedora-38${RESET}"
@echo -e "\t\t${BOLD}fedora-37${RESET}"
@echo -e "\t\t${BOLD}opensuse-leap${RESET} (latest)"
@echo -e "\t\t${BOLD}rockylinux-9${RESET} (latest)"
@echo -e "\t\t${BOLD}ubuntu-24.04${RESET} (Ubuntu 24.04 LTS, latest)"
@echo -e "\t\t${BOLD}ubuntu-23.10${RESET} (Ubuntu 23.10, rolling)"
@echo -e "\t\t${BOLD}ubuntu-23.04${RESET} (Ubuntu 23.04)"
@echo -e "\t\t${BOLD}ubuntu-22.04${RESET} (Ubuntu 22.04 LTS)"
@echo -e "\t\t${BOLD}ubuntu-20.04${RESET} (Ubuntu 20.04 LTS)"
@echo -e "\t\t${BOLD}opensuse-leap${RESET} (latest)"
@echo -e "\t\t${BOLD}rockylinux-9${RESET} (latest)"
@echo
@echo -e "\t${BOLD}<stage>${RESET}:"
@echo -e "\t\t${BOLD}env${RESET}"
Expand Down Expand Up @@ -150,7 +150,7 @@ OR_TOOLS_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
OR_TOOLS_SHA1 := $(shell git rev-parse --verify HEAD)
# OR_TOOLS_MAJOR & OR_TOOLS_MINOR
include ../../Version.txt
OR_TOOLS_PATCH := $(shell git rev-list --count v${OR_TOOLS_MAJOR}.0..HEAD)
OR_TOOLS_PATCH := $(shell git rev-list --count v${OR_TOOLS_MAJOR}.0..HEAD || echo 0)
OR_TOOLS_VERSION := ${OR_TOOLS_MAJOR}.${OR_TOOLS_MINOR}.${OR_TOOLS_PATCH}
ifdef PRE_RELEASE
OR_TOOLS_VERSION := ${OR_TOOLS_VERSION}-rc
Expand Down Expand Up @@ -412,9 +412,9 @@ DISTROS := \
archlinux \
debian-11 debian-12 debian-sid \
fedora-37 fedora-38 fedora-39 \
ubuntu-20.04 ubuntu-22.04 ubuntu-23.04 ubuntu-23.10 ubuntu-24.04 \
opensuse-leap \
rockylinux-9
rockylinux-9 \
ubuntu-20.04 ubuntu-22.04 ubuntu-23.04 ubuntu-23.10 ubuntu-24.04

# List of stages
STAGES := env devel
Expand Down
14 changes: 7 additions & 7 deletions tools/docker/python/amd64/manylinux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ RUN wget -q --no-check-certificate "https://cmake.org/files/v3.28/cmake-3.28.3-l
&& ./cmake-3.28.3-linux-x86_64.sh --prefix=/usr --skip-license \
&& rm cmake-3.28.3-linux-x86_64.sh

# Install Swig 4.1.1
# Install SWIG 4.2.1
RUN curl --location-trusted \
--remote-name "https://downloads.sourceforge.net/project/swig/swig/swig-4.1.1/swig-4.1.1.tar.gz" \
-o swig-4.1.1.tar.gz \
&& tar xvf swig-4.1.1.tar.gz \
&& rm swig-4.1.1.tar.gz \
&& cd swig-4.1.1 \
--remote-name "https://downloads.sourceforge.net/project/swig/swig/swig-4.2.1/swig-4.2.1.tar.gz" \
-o swig-4.2.1.tar.gz \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& ./configure --prefix=/usr/local \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.1.1
&& rm -rf swig-4.2.1

ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
Expand Down
14 changes: 7 additions & 7 deletions tools/docker/python/arm64v8/manylinux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ RUN wget -q --no-check-certificate "https://cmake.org/files/v3.28/cmake-3.28.3-l
&& ./cmake-3.28.3-linux-aarch64.sh --prefix=/usr --skip-license \
&& rm cmake-3.28.3-linux-aarch64.sh

# Install Swig 4.1.1
# Install SWIG 4.2.1
RUN curl --location-trusted \
--remote-name "https://downloads.sourceforge.net/project/swig/swig/swig-4.1.1/swig-4.1.1.tar.gz" \
-o swig-4.1.1.tar.gz \
&& tar xvf swig-4.1.1.tar.gz \
&& rm swig-4.1.1.tar.gz \
&& cd swig-4.1.1 \
--remote-name "https://downloads.sourceforge.net/project/swig/swig/swig-4.2.1/swig-4.2.1.tar.gz" \
-o swig-4.2.1.tar.gz \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& ./configure --prefix=/usr/local \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.1.1
&& rm -rf swig-4.2.1

ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
Expand Down

0 comments on commit 9440987

Please sign in to comment.