Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.
docker: add SWIFT_VERSION arg (#276)
Kabir Oberaif0ef4151b139
diff --git a/Dockerfile b/Dockerfileindex 0433f7a..c8ecc16 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,7 +1,9 @@# Note: We use 22.04 since AppImage recommends building on the# oldest configuration that you support-FROM swift:6.3-jammy AS build-base+ARG SWIFT_VERSION=6.3.3++FROM swift:${SWIFT_VERSION}-jammy AS build-baseRUN apt-get update \&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \@@ -102,7 +104,7 @@ RUN swift package resolveADD . /xtoolRUN ./Linux/build.sh-FROM swift:6.3 AS xtool+FROM swift:${SWIFT_VERSION} AS xtoolCOPY --from=build-xtool /xtool/Linux/packages/xtool-*.AppImage /xtool/xtool.AppImageRUN (cd /xtool && ./xtool.AppImage --appimage-extract) \