Skip to content

Commit bcc91a1

Browse files
Fix cannot import libraries
1 parent 76ac8e5 commit bcc91a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ FROM swift:6.0.1-jammy
44
WORKDIR /app
55

66
COPY ./_Packages/ ./swiftfiddle.com/_Packages/
7+
RUN rm -rf LICENSE README.md SECURITY.md versions.json ./_Packages/
78
RUN cd ./swiftfiddle.com/_Packages/ \
89
&& swift build -c release \
9-
&& rm -rf ./_Packages/ .build/repositories/
10+
&& rm -rf .build/repositories/
1011

1112
RUN echo 'int isatty(int fd) { return 1; }' | \
1213
clang -O2 -fpic -shared -ldl -o faketty.so -xc -

0 commit comments

Comments
 (0)