Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit ee56c7e

Browse files
authored
Security fixes for /bin/proxy. (#150)
- Update to a new parent image to catch security fixes for the action loop proxy /bin/proxy. - Also show the actual python and /bin/proxy version in the build output to make check if vulnerability fixes need to be applied easier.
1 parent c523dea commit ee56c7e

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# IBM Cloud Functions Runtime for Python
2-
[![Build Status](https://travis-ci.org/ibm-functions/runtime-python.svg?branch=master)](https://travis-ci.org/ibm-functions/runtime-python)
2+
[![Build Status](https://travis-ci.com/ibm-functions/runtime-python.svg?branch=master)](https://travis-ci.com/ibm-functions/runtime-python)
33

44
- The runtime provides [python v3.7](python3.7/) with a set of [python packages](python3.7/requirements.txt), see [python3.7/CHANGELOG.md](python3.7/CHANGELOG.md)
55
- The runtime provides [python v3.6](python3.6/) with a set of [python packages](python3.6/requirements.txt), see [python3.6/CHANGELOG.md](python3.6/CHANGELOG.md)

python3.7/CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# IBM Functions Python 3.7 Runtime Container
22

3+
## 1.22.4
4+
Changes:
5+
- Update to new parent image to get latest go security fixes for the action loop proxy (/bin/proxy).
6+
7+
Python version:
8+
- [3.7.11](https://github.com/docker-library/python/blob/0c29e9cf700253291c7f2327537cb1d65f14a428/3.7/buster/Dockerfile)
9+
10+
Python packages:
11+
- The file [requirements.txt](requirements.txt) lists the packages we guarantee to be included in this runtime.<br/>
12+
Ensure that you only use packages mentioned there.<br/>
13+
Other python packages might be part of this runtime, but only due to indirect dependencies of the above listed packages. These indirectly included packages are candidates to be removed at any time in case they are not requ>
14+
315
## 1.22.3
416
Changes:
517
- Update GO_PROXY_RELEASE_VERSION to 1.15@1.18.0.
@@ -13,7 +25,6 @@ Python packages:
1325
Ensure that you only use packages mentioned there.<br/>
1426
Other python packages might be part of this runtime, but only due to indirect dependencies of the above listed packages. These indirectly included packages are candidates to be removed at any time in case they are not requ>
1527

16-
1728
## 1.22.2
1829
Changes:
1930
- Use renamed openwhisk/action-python-v3.7 (was openwhisk/actionloop-python-v3.7) parent image.

python3.7/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openwhisk/action-python-v3.7:6925989
1+
FROM openwhisk/action-python-v3.7:16c6081
22

33
COPY requirements.txt requirements.txt
44

@@ -11,4 +11,10 @@ RUN apt-get update \
1111
# We need to add some dummy entries to /etc/mysql/my.cnf to sattisfy vulnerability checking of it.
1212
&& echo "\n[mysqld]\nssl-ca=/tmp/ca.pem\nssl-cert=/tmp/server-cert.pem\nssl-key=/tmp/server-key.pem\n" >> /etc/mysql/my.cnf \
1313
# install additional python modules
14-
&& pip install --upgrade pip setuptools six && pip install --no-cache-dir -r requirements.txt
14+
&& pip install --upgrade pip setuptools six && pip install --no-cache-dir -r requirements.txt \
15+
# Show actual python version in the build output.
16+
&& echo "Actual python version is:" \
17+
&& python --version \
18+
# Show actual /bin/proxy version in the build output, makes it easier to check if go security fixes need to be applied.
19+
&& echo "Actual /bin/proxy version is:" \
20+
&& /bin/proxy -version

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy