File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ RUN chown -R $(whoami) /app
12
12
13
13
RUN flutter pub get
14
14
15
- RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64
16
-
17
15
RUN alias dpkg-deb="dpkg-deb --Zxz" &&\
18
16
flutter_distributor package --platform=linux --targets=deb --skip-clean
19
17
18
+ RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64
20
19
21
20
RUN mv build/spotube-linux-*-aarch64.tar.xz dist/ &&\
22
21
mv dist/**/spotube-*-linux.deb dist/Spotube-linux-aarch64.deb
Original file line number Diff line number Diff line change 1
1
import 'dart:async' ;
2
2
3
3
import 'package:args/command_runner.dart' ;
4
+ import 'package:path/path.dart' ;
4
5
5
6
import '../../core/env.dart' ;
6
7
import 'common.dart' ;
@@ -18,7 +19,7 @@ class LinuxArmBuildCommand extends Command with BuildCommandCommonSteps {
18
19
19
20
await shell.run (
20
21
"docker buildx build --platform=linux/arm64 "
21
- "-f . github/ Dockerfile . "
22
+ "-f ${ join ( cwd . path , ". github" , " Dockerfile" )} ${ cwd . path } "
22
23
"--build-arg FLUTTER_VERSION=${CliEnv .flutterVersion } "
23
24
"--build-arg BUILD_VERSION=${CliEnv .channel == BuildChannel .nightly ? "nightly" : versionWithoutBuildNumber } "
24
25
"-t krtirtho/spotube_linux_arm:latest "
You can’t perform that action at this time.
0 commit comments