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

Commit eba752a

Browse files
authored
Add --with-new-pkgs to apt-get upgrade. (#77)
- This is done, to also install security updates for packages that include new libraries and would normally kept back.
1 parent 2893921 commit eba752a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

swift4.2/CHANGELOG.md

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

3+
## 1.4.1
4+
Changes:
5+
- Add `--with-new-pkgs` to `apt-get upgrade` to also install security updates for packages that include new libraries.
6+
7+
Swift runtime version: [swift-4.2.4-RELEASE](https://swift.org/builds/swift-4.2.4-release/ubuntu1604/swift-4.2.4-RELEASE/swift-4.2.4-RELEASE-ubuntu16.04.tar.gz)
8+
9+
Packages included:
10+
- [Watson SDK 1.3.1](https://github.com/watson-developer-cloud/swift-sdk/releases/tag/1.3.1)
11+
12+
313
## 1.4.0
414
Changes:
515
- Update to a newer parent image.

swift4.2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ COPY _Whisk.swift /swiftAction/Sources/
66
COPY Package.swift /swiftAction/
77
RUN apt-get update \
88
# Update installed packages to get security fixes if available.
9-
&& apt-get upgrade -y --no-install-recommends \
9+
&& apt-get upgrade -y --no-install-recommends --with-new-pkgs\
1010
# Cleanup apt data, we do not need them later on.
1111
&& rm -rf /var/lib/apt/lists/* \
1212
&& swift build -c release \

0 commit comments

Comments
 (0)