Skip to content

Commit

Permalink
Fix swift docker image version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lerbert committed Sep 28, 2021
1 parent 9ae43ea commit 57acd4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Linux ARM WebService
runs-on: ARM64
container:
image: swiftlang/swift:nightly-focal
image: swiftlang/swift@sha256:59fd39504339a0c0b24a304bb50028ff679bf60b45f25f6acd42b0530a1188c6
defaults:
run:
working-directory: ./WebService
Expand Down
4 changes: 2 additions & 2 deletions WebService/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ================================
# Build image
# ================================
FROM swiftlang/swift:nightly-focal as build
FROM swiftlang/swift@sha256:59fd39504339a0c0b24a304bb50028ff679bf60b45f25f6acd42b0530a1188c6 as build

# Install OS updates and, if needed, sqlite3
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
Expand Down Expand Up @@ -35,7 +35,7 @@ RUN [ -d "$(swift build --package-path /build/WebService --show-bin-path)/WebSer
# ================================
# Run image
# ================================
FROM swiftlang/swift:nightly-focal as run
FROM swiftlang/swift@sha256:59fd39504339a0c0b24a304bb50028ff679bf60b45f25f6acd42b0530a1188c6 as run

# Make sure all system packages are up to date.
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
Expand Down

0 comments on commit 57acd4f

Please sign in to comment.