Project updates from Template #1
@@ -10,6 +10,9 @@
|
|||||||
**/.build
|
**/.build
|
||||||
**/.swiftpm
|
**/.swiftpm
|
||||||
|
|
||||||
|
# The test database's data directory.
|
||||||
|
**/Tests/DB
|
||||||
|
|
||||||
# Xcode project (not used by the Linux build)
|
# Xcode project (not used by the Linux build)
|
||||||
*.xcodeproj
|
*.xcodeproj
|
||||||
|
|
||||||
|
|||||||
@@ -70,8 +70,9 @@ RUN swift build --package-path ./Services/Website -c release \
|
|||||||
# Switch to the staging area
|
# Switch to the staging area
|
||||||
WORKDIR /staging
|
WORKDIR /staging
|
||||||
|
|
||||||
# Copy main executable to staging area
|
# Copy main executable to staging area, without its debug sections
|
||||||
RUN cp "$(swift build --package-path /build/Services/Website -c release --show-bin-path)/Website" ./
|
RUN cp "$(swift build --package-path /build/Services/Website -c release --show-bin-path)/Website" ./ \
|
||||||
|
&& strip --strip-debug ./Website
|
||||||
|
|
||||||
# Copy static swift backtracer binary to staging area
|
# Copy static swift backtracer binary to staging area
|
||||||
RUN cp "/usr/libexec/swift/linux/swift-backtrace-static" ./
|
RUN cp "/usr/libexec/swift/linux/swift-backtrace-static" ./
|
||||||
|
|||||||
Reference in New Issue
Block a user