File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
# ================================
2
2
# Build image
3
3
# ================================
4
- FROM swift:5.10 -noble AS build
4
+ FROM swift:6.0 -noble AS build
5
5
6
6
# Install OS updates
7
7
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
@@ -23,11 +23,12 @@ RUN swift package resolve \
23
23
# Copy entire repo into container
24
24
COPY . .
25
25
26
- # Build everything , with optimizations, with static linking, and using jemalloc
26
+ # Build the application , with optimizations, with static linking, and using jemalloc
27
27
# N.B.: The static version of jemalloc is incompatible with the static Swift runtime.
28
28
RUN swift build -c release \
29
- --static-swift-stdlib \
30
- -Xlinker -ljemalloc
29
+ --product App \
30
+ --static-swift-stdlib \
31
+ -Xlinker -ljemalloc
31
32
32
33
# Switch to the staging area
33
34
WORKDIR /staging
You can’t perform that action at this time.
0 commit comments