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

Commit 26d6201

Browse files
authored
Get latest security fixes with each build. (#106)
1 parent f511e28 commit 26d6201

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

python3.6/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# IBM Functions Python 3.6 Runtime Container
22

3+
## 1.25.1
4+
Changes:
5+
- Catch latest security fixes with each build.
6+
7+
38
## 1.25.0
49
Changes:
510
- update to new base image

python3.6/Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ ENV FLASK_PROXY_PORT 8080
55
COPY requirements.txt requirements.txt
66

77
RUN apt-get update \
8+
# Upgrade installed packages to get latest security fixes if the base image does not contain them already.
9+
&& apt-get upgrade -y --no-install-recommends \
810
# add some packages required for the pip install
9-
&& apt-get install -y \
11+
&& apt-get install -y --no-install-recommends \
1012
gcc \
1113
libc-dev \
1214
libxslt-dev \
@@ -16,12 +18,6 @@ RUN apt-get update \
1618
zip \
1719
unzip \
1820
vim \
19-
# add secutity updates for certain packages
20-
&& apt-get install -y \
21-
e2fsprogs \
22-
openssl \
23-
tzdata \
24-
libgcrypt20 \
2521
# cleanup package lists, they are not used anymore in this image
2622
&& rm -rf /var/lib/apt/lists/* \
2723
&& apt-cache search linux-headers-generic \

python3.7/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# IBM Functions Python 3.7 Runtime Container
22

3+
## 1.14.1
4+
Changes:
5+
- Catch latest security fixes with each build.
6+
37
## 1.14.0
48
Changes:
59
- update to new base image

python3.7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM openwhisk/actionloop-python-v3.7:248efb5
33
COPY requirements.txt requirements.txt
44

55
RUN apt-get update \
6-
# add secutity updates for certain packages
7-
&& apt-get install -y --no-install-recommends file git curl\
6+
# Upgrade installed packages to get latest security fixes if the base image does not contain them already.
7+
&& apt-get upgrade -y --no-install-recommends \
88
# cleanup package lists, they are not used anymore in this image
99
&& rm -rf /var/lib/apt/lists/* \
1010
# We do not have mysql-server installed but mysql-common contains config files (/etc/mysql/my.cnf) for it.

0 commit comments

Comments
 (0)