Functioning music player features

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 03:20:20 +00:00
co-authored by Copilot
parent 357e6e17cc
commit 34476a56da
9 changed files with 161 additions and 98 deletions
+18 -5
View File
@@ -7,11 +7,21 @@ RUN apt-get update && apt-get install -y \
wget curl unzip git xz-utils zip libglu1-mesa openjdk-17-jdk\
&& rm -rf /var/lib/apt/lists/*
# Become non-root
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=1000
ENV FLUTTER_VERSION=3.41.8
ENV FLUTTER_HOME=/opt/flutter
RUN groupadd --gid $USER_GID $USERNAME \
&& useradd --uid $USER_UID --gid $USER_GID -m -s /bin/bash $USERNAME
# Install Flutter
RUN git clone https://github.com/flutter/flutter.git /opt/flutter \
&& cd /opt/flutter \
&& git checkout $FLUTTER_VERSION \
&& flutter precache --android
RUN git clone https://github.com/flutter/flutter.git ${FLUTTER_HOME} \
&& cd ${FLUTTER_HOME} \
&& git checkout $FLUTTER_VERSION
# Set up Android SDK
ENV ANDROID_HOME=/opt/android-sdk
@@ -23,4 +33,7 @@ RUN mkdir -p ${ANDROID_HOME}/cmdline-tools \
&& mv ${ANDROID_HOME}/cmdline-tools/cmdline-tools ${ANDROID_HOME}/cmdline-tools/latest \
&& rm commandlinetools.zip && yes | sdkmanager --licenses \
&& sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
# && chown -R node:node ${ANDROID_HOME}
RUN chown -R 1000:1000 ${ANDROID_HOME} && chown -R 1000:1000 ${FLUTTER_HOME}
USER $USERNAME
ENV HOME=/home/$USERNAME
+5 -10
View File
@@ -6,15 +6,10 @@
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.vscode-typescript-next"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
}
"ms-vscode.vscode-typescript-next",
"dart-code.flutter"
]
}
},
"postCreateCommand": "flutter doctor -v",
"mounts": [
]
}
"postCreateCommand": "flutter doctor -v"
}