Skip to content

Commit e77b270

Browse files
authored
Updating python to 3.7.10 (#462)
1 parent 607b925 commit e77b270

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

base/debian-10/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ LABEL maintainer="support@splunk.com"
1818
ARG SCLOUD_URL
1919
ENV SCLOUD_URL=${SCLOUD_URL} \
2020
DEBIAN_FRONTEND=noninteractive \
21-
PYTHON_VERSION=3.7.9
21+
PYTHON_VERSION=3.7.10 \
22+
PYTHON_MD5=0b19e34a6dabc4bf15fdcdf9e77e9856
2223

2324
COPY install.sh /install.sh
2425
RUN /install.sh && rm -rf /install.sh

base/debian-10/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ apt-get install -y --no-install-recommends curl sudo libgssapi-krb5-2 busybox pr
3838
# Install Python and necessary packages
3939
PY_SHORT=${PYTHON_VERSION%.*}
4040
wget -O /tmp/python.tgz https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz
41+
echo "$PYTHON_MD5 /tmp/python.tgz" | md5sum --check
4142
mkdir -p /tmp/pyinstall
4243
tar -xzC /tmp/pyinstall/ --strip-components=1 -f /tmp/python.tgz
4344
rm /tmp/python.tgz

base/debian-9/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ LABEL maintainer="support@splunk.com"
1818
ARG SCLOUD_URL
1919
ENV SCLOUD_URL=${SCLOUD_URL} \
2020
DEBIAN_FRONTEND=noninteractive \
21-
PYTHON_VERSION=3.7.9
21+
PYTHON_VERSION=3.7.10 \
22+
PYTHON_MD5=0b19e34a6dabc4bf15fdcdf9e77e9856
2223

2324
COPY install.sh /install.sh
2425
RUN /install.sh && rm -rf /install.sh

base/debian-9/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ apt-get install -y --no-install-recommends curl sudo libgssapi-krb5-2 busybox pr
3737
# Install Python and necessary packages
3838
PY_SHORT=${PYTHON_VERSION%.*}
3939
wget -O /tmp/python.tgz https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz
40+
echo "$PYTHON_MD5 /tmp/python.tgz" | md5sum --check
4041
mkdir -p /tmp/pyinstall
4142
tar -xzC /tmp/pyinstall/ --strip-components=1 -f /tmp/python.tgz
4243
rm /tmp/python.tgz

base/redhat-8/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ LABEL name="splunk" \
2727

2828
ARG SCLOUD_URL
2929
ENV SCLOUD_URL=${SCLOUD_URL} \
30-
PYTHON_VERSION=3.7.9
30+
PYTHON_VERSION=3.7.10 \
31+
PYTHON_MD5=0b19e34a6dabc4bf15fdcdf9e77e9856
3132

3233
COPY install.sh /install.sh
3334

base/redhat-8/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ microdnf -y --nodocs update gnutls kernel-headers librepo libnghttp2 tzdata
3434
# Install Python and necessary packages
3535
PY_SHORT=${PYTHON_VERSION%.*}
3636
wget -O /tmp/python.tgz https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz
37+
echo "$PYTHON_MD5 /tmp/python.tgz" | md5sum --check
3738
mkdir -p /tmp/pyinstall
3839
tar -xzC /tmp/pyinstall/ --strip-components=1 -f /tmp/python.tgz
3940
rm /tmp/python.tgz

0 commit comments

Comments
 (0)