Skip to content

Commit

Permalink
Move changing ownership of android sdk folder to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
takenagain committed May 21, 2024
1 parent 566ba0b commit 2f258ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .docker/android-dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ RUN apt update && apt install -y python3 python3-pip python3-venv && \
useradd -u 1001 -m $USER && \
usermod -aG sudo $USER && \
echo "$USER ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
chown -R $USER:$USER /home/$USER
chown -R $USER:$USER /home/$USER && \
chown -R $USER:$USER /opt/android-sdk-linux && \
chmod -R u+rw,g+rw /opt/android-sdk-linux

USER $USER

Expand Down
1 change: 0 additions & 1 deletion .docker/dev-setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
chmod u+rw,g+r komodo:komodo /home/komodo/workspace
chown -R komodo:komodo /opt/android-sdk-linux
mkdir -p android/app/src/main/cpp/libs/armeabi-v7a
mkdir -p android/app/src/main/cpp/libs/arm64-v8a
/home/komodo/.venv/bin/pip install -r .docker/requirements.txt
Expand Down

0 comments on commit 2f258ca

Please sign in to comment.