You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
253 B
11 lines
253 B
3 years ago
|
ARG ALPINE_VERSION
|
||
|
ARG TDLIB_IMAGE
|
||
|
FROM ${TDLIB_IMAGE} AS tdlib
|
||
|
RUN mkdir /tdlib-so
|
||
|
WORKDIR /tdlib-so
|
||
|
RUN find /tdlib/lib -regex '.*\.so.*' -print0 | xargs -0 -I % cp -P % .
|
||
|
|
||
|
FROM alpine:${ALPINE_VERSION}
|
||
|
WORKDIR /tdlib-so
|
||
|
COPY --from=tdlib /tdlib-so .
|