mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00

* feat: add build dart script for windows * feat: add android build support * feat: add linux build support * feat: add macos build support * feat: add ios build support * feat: add deps install command and workflow file * cd: what? * cd: what? * cd: what? * cd: update workflow inputs * cd: replace release binary * cd: run flutter pub get * cd: use dpkg zstd instead of xz, windows disable innoInstall, fix channel enum.name and reset pubspec after changing build no for nightly * cd: fix tar copy path * cd: fix copy linux command * cd: fix windows inno depend and fix android aab path * cd: idk * cd: linux why??? * cd: windows choco copy failed * cd: use dart tar archive for creating tar file * cd: fix linux file copy error * cd: use tar command directly * feat: add linux_arm platform * cd: add linux_arm platform * cd: don't know what? * feat: notification about nightly channel update * chore: fix some errors parsing nightly version info
23 lines
524 B
Docker
23 lines
524 B
Docker
ARG FLUTTER_VERSION
|
|
|
|
FROM --platform=linux/arm64 krtirtho/flutter_distributor_arm64:${FLUTTER_VERSION}
|
|
|
|
ARG BUILD_VERSION
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN chown -R $(whoami) /app
|
|
|
|
RUN flutter pub get
|
|
|
|
RUN alias dpkg-deb="dpkg-deb --Zxz" &&\
|
|
flutter_distributor package --platform=linux --targets=deb --skip-clean
|
|
|
|
RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64
|
|
|
|
RUN mv build/spotube-linux-*-aarch64.tar.xz dist/ &&\
|
|
mv dist/**/spotube-*-linux.deb dist/Spotube-linux-aarch64.deb
|
|
|
|
CMD [ "sleep", "5000000" ] |