fixup! fixup! Strip binary when building for release

This commit is contained in:
JP Simard
2022-03-18 20:54:07 -04:00
parent a59be8092d
commit e06da98b6b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ RUN swift build $SWIFT_FLAGS
RUN mkdir -p /executables
RUN for executable in $(swift package completion-tool list-executables); do \
install -v `swift build $SWIFT_FLAGS --show-bin-path`/$executable /executables; \
strip -rSTX /executables/$executable \
strip -rSTX /executables/$executable; \
done
# runtime image
+1 -1
View File
@@ -20,7 +20,7 @@ RUN swift build $SWIFT_FLAGS
RUN mkdir -p /executables
RUN for executable in $(swift package completion-tool list-executables); do \
install -v `swift build $SWIFT_FLAGS --show-bin-path`/$executable /executables; \
strip -rSTX /executables/$executable \
strip -rSTX /executables/$executable; \
done
# runtime image