Skip to content

Commit

Permalink
Merge pull request #5 from SubconsciousCompute/ci
Browse files Browse the repository at this point in the history
fix: broken ci
  • Loading branch information
dilawar authored Jan 20, 2024
2 parents e007bc0 + af85f85 commit f2c66f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ RUN wget https://dl.google.com/android/repository/commandlinetools-linux-9477386
# sdkmanager expect this path scheme
RUN mv $ANDROID_HOME/cmdline-tools/cmdline-tools $ANDROID_HOME/cmdline-tools/latest
ENV PATH "$ANDROID_HOME/cmdline-tools/latest/bin:$PATH"
RUN sdkmanager "build-tools;30.0.3" "emulator" "ndk;25.2.9519653" "patcher;v4" "platform-tools" "platforms;android-33"
RUN yes | sdkmanager --licenses

RUN sdkmanager "build-tools;30.0.3" "emulator" "ndk;25.2.9519653" "platform-tools" "platforms;android-34"

COPY ./.ci/build_inside_docker.sh /root/build_inside_docker.sh
RUN ln -s /usr/bin/python3 /usr/bin/python
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
app:
image: subcom/rust_android
build: .
android:
image: subcom/rust_android:2024.01.20
build:
context: .
volumes:
- .:/app

0 comments on commit f2c66f1

Please sign in to comment.