Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
swift: update to Swift 5.2 (#779)
Browse files Browse the repository at this point in the history
Fixes: #752

Co-authored-by: Neeraj Laad <[email protected]>
Co-authored-by: Sandy Koh <[email protected]>
  • Loading branch information
3 people authored May 1, 2020
1 parent 67852f9 commit c269961
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion incubator/swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The Swift stack is designed to provide a foundation for building and running Swift applications in Appsody.

This stack is based on the `Swift 5.1` runtime and allows you to develop new or existing Swift applications using Appsody.
This stack is based on the `Swift 5.2` runtime and allows you to develop new or existing Swift applications using Appsody.

## Templates

Expand Down
4 changes: 2 additions & 2 deletions incubator/swift/image/Dockerfile-stack
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM swift:5.1
FROM swift:5.2

LABEL Description="Appsody runtime for Swift applications"
LABEL maintainer="Ian Partridge <ianpartridge>, David Jones <djones6>"

RUN apt-get update \
&& apt-get install -y zlib1g-dev libcurl4-openssl-dev libssl-dev \
&& apt-get install -y libcurl4-openssl-dev libssl-dev \
&& apt-get clean \
&& echo 'Finished installing dependencies'

Expand Down
6 changes: 3 additions & 3 deletions incubator/swift/image/project/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Install the app dependencies
FROM swift:5.1 as builder
FROM swift:5.2 as builder

# Install OS updates
RUN apt-get update \
&& apt-get install -y zlib1g-dev libcurl4-openssl-dev libssl-dev \
&& apt-get install -y libcurl4-openssl-dev libssl-dev \
&& apt-get clean \
&& echo 'Finished installing dependencies'

Expand All @@ -17,7 +17,7 @@ RUN echo '#!/bin/bash' > run.sh \
&& cat output.txt | awk 'END {print "./.build/x86_64-unknown-linux/release/" $NF}' >> run.sh \
&& chmod 755 run.sh

FROM swift:5.1-slim
FROM swift:5.2-slim

# Install OS updates
RUN apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion incubator/swift/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Swift
version: 0.2.7
version: 0.3.0
description: Appsody runtime for Swift applications
license: Apache-2.0
language: swift
Expand Down

0 comments on commit c269961

Please sign in to comment.