Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions swift4.2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# IBM Functions Swift 4.2 Runtime

## 1.4.1
Changes:
- Add `--with-new-pkgs` to `apt-get upgrade` to also install security updates for packages that include new libraries.

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)

Packages included:
- [Watson SDK 1.3.1](https://github.com/watson-developer-cloud/swift-sdk/releases/tag/1.3.1)


## 1.4.0
Changes:
- Update to a newer parent image.
Expand Down
2 changes: 1 addition & 1 deletion swift4.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY _Whisk.swift /swiftAction/Sources/
COPY Package.swift /swiftAction/
RUN apt-get update \
# Update installed packages to get security fixes if available.
&& apt-get upgrade -y --no-install-recommends \
&& apt-get upgrade -y --no-install-recommends --with-new-pkgs\
# Cleanup apt data, we do not need them later on.
&& rm -rf /var/lib/apt/lists/* \
&& swift build -c release \
Expand Down