Commit Graph

6 Commits

Author SHA1 Message Date
JP Simard 702b36a781 Revert strip on Docker 2022-03-18 21:01:50 -04:00
JP Simard e06da98b6b fixup! fixup! Strip binary when building for release 2022-03-18 20:54:07 -04:00
JP Simard 91b58c6cbe Strip binary when building for release
Shaves ~32% off the binary size.

Brings the universal fat binary on macOS from 86MB to 58MB.
2022-03-18 20:43:55 -04:00
Keith Smiley 0830eca24c Add -I to _InternalSwiftSyntaxParser on Linux (#3873)
Since `_InternalSwiftSyntaxParser` isn't in the search paths when building with the `-static-stdlib` flag, we have to manually pass an include path so the swift compiler discovers it. Unfortunately we cannot just pass `-I/usr/lib/swift` because that results in duplicate library errors since the libraries we're linking statically also live there as shared libraries. This first symlinks the module definition to the root of the checkout and uses `.` for the `-I`. Any temporary path could be used instead.
2022-03-08 08:49:24 -08:00
Francisco Javier Trujillo Mata a2ada88fd1 Upload Docker Image in to Github Container (#3791) 2022-01-21 07:38:47 -08:00
Norio Nomura 4e61c8436c [Docker] Add Dockerfile
Provides:
- a runtime environment on ubuntu that does not include the Swift toolchain.
- supportintg `docker build https://github.com/realm/SwiftLint.git`
- add `libcurl4-openssl-dev` as build time dependency that introduced by #3058
2020-12-05 00:22:54 +09:00