Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aldiand committed Dec 22, 2023
1 parent 46b5f49 commit 386a306
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rm -rf ./dist/android;
mkdir -p ./dist/;


docker build --progress plain -t react-native-pjsip-builder/android ./android/;
DOCKER_BUILDKIT=0 docker build --progress plain -t react-native-pjsip-builder/android ./android/;
docker run --name ${CONTAINER_NAME} ${IMAGE_NAME} bin/true

docker cp ${CONTAINER_NAME}:/dist/android ./dist/android
Expand Down
10 changes: 5 additions & 5 deletions ios/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \

RUN mkdir -p /vialer/ && \
cd /vialer/ && \
wget https://github.com/aldiand/Vialer-pjsip-iOS/archive/refs/tags/3.9.zip && \
wget https://github.com/aldiand/Vialer-pjsip-iOS/raw/3.9/VialerPJSIP.xcframework/ios-arm64/VialerPJSIP.framework/Versions/A/VialerPJSIP --output-document=VialerPJSIP-device && \
wget https://github.com/aldiand/Vialer-pjsip-iOS/raw/3.9/VialerPJSIP.xcframework/ios-arm64_x86_64-simulator/VialerPJSIP.framework/Versions/A/VialerPJSIP --output-document=VialerPJSIP-simulator && \
unzip 3.9.zip
wget https://github.com/aldiand/Vialer-pjsip-iOS/archive/refs/tags/3.10.zip && \
wget https://github.com/aldiand/Vialer-pjsip-iOS/raw/3.10/VialerPJSIP.xcframework/ios-arm64/VialerPJSIP.framework/Versions/A/VialerPJSIP --output-document=VialerPJSIP-device && \
wget https://github.com/aldiand/Vialer-pjsip-iOS/raw/3.10/VialerPJSIP.xcframework/ios-arm64_x86_64-simulator/VialerPJSIP.framework/Versions/A/VialerPJSIP --output-document=VialerPJSIP-simulator && \
unzip 3.10.zip

RUN mkdir -p /dist/ios/ && \
mv /vialer/Vialer-pjsip-iOS-3.9/VialerPJSIP.xcframework /dist/ios/VialerPJSIP.xcframework && \
mv /vialer/Vialer-pjsip-iOS-3.10/VialerPJSIP.xcframework /dist/ios/VialerPJSIP.xcframework && \
rm /dist/ios/VialerPJSIP.xcframework/ios-arm64/VialerPJSIP.framework/VialerPJSIP && \
rm /dist/ios/VialerPJSIP.xcframework/ios-arm64_x86_64-simulator/VialerPJSIP.framework/VialerPJSIP && \
mv /vialer/VialerPJSIP-device /dist/ios/VialerPJSIP.xcframework/ios-arm64/VialerPJSIP.framework/VialerPJSIP && \
Expand Down

0 comments on commit 386a306

Please sign in to comment.