File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ ARG argBasedVersion="1.13.2"
66COPY --chown=wrongsecrets target/wrongsecrets-${argBasedVersion}-SNAPSHOT.jar application.jar
77RUN java -Djarmode=tools -jar application.jar extract --layers --destination extracted
88
9+ FROM swift:6.0.3-slim AS swift-runtime
10+
911FROM eclipse-temurin:25.0.2_10-jre-alpine
1012WORKDIR /application
1113
@@ -31,7 +33,13 @@ RUN echo "2vars"
3133RUN echo "$ARG_BASED_PASSWORD"
3234RUN echo "$argBasedPassword"
3335
34- RUN apk add --no-cache libstdc++ icu-libs
36+ RUN apk add --no-cache libstdc++ icu-libs gcompat
37+
38+ RUN mkdir -p /usr/lib/swift/linux
39+ COPY --from=swift-runtime /usr/lib/swift/linux/libswiftCore.so /usr/lib/swift/linux/
40+ COPY --from=swift-runtime /usr/lib/swift/linux/libswift_Concurrency.so /usr/lib/swift/linux/
41+ COPY --from=swift-runtime /usr/lib/swift/linux/libswift_StringProcessing.so /usr/lib/swift/linux/
42+ COPY --from=swift-runtime /usr/lib/swift/linux/libswift_RegexParser.so /usr/lib/swift/linux/
3543
3644# Create the /var/run/secrets2 directory
3745RUN mkdir -p /var/run/secrets2
You can’t perform that action at this time.
0 commit comments