Skip to content
Open
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
4 changes: 2 additions & 2 deletions sdk-spec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Builds the SDK from source with its steps file under the Swift harness of the Flagsmith SDK
# behavioural spec. See https://github.com/Flagsmith/sdk-spec/tree/main/harness/swift
FROM docker.io/library/swift:6.1-noble AS build
FROM docker.io/library/swift:6.4-noble AS build
WORKDIR /sdk
COPY . .
COPY --from=harness . /harness
RUN swift build --package-path /harness --configuration release \
&& cp "$(swift build --package-path /harness --configuration release --show-bin-path)/sdk-spec-harness" /usr/local/bin/

FROM docker.io/library/swift:6.1-noble-slim
FROM docker.io/library/swift:6.4-noble-slim
COPY --from=build /usr/local/bin/sdk-spec-harness /usr/local/bin/
ENTRYPOINT ["sdk-spec-harness"]
Loading