Skip to content

Commit 596a4b5

Browse files
committed
cd: don't know what?
1 parent 1b1db3a commit 596a4b5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ RUN chown -R $(whoami) /app
1212

1313
RUN flutter pub get
1414

15-
RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64
16-
1715
RUN alias dpkg-deb="dpkg-deb --Zxz" &&\
1816
flutter_distributor package --platform=linux --targets=deb --skip-clean
1917

18+
RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64
2019

2120
RUN mv build/spotube-linux-*-aarch64.tar.xz dist/ &&\
2221
mv dist/**/spotube-*-linux.deb dist/Spotube-linux-aarch64.deb

cli/commands/build/linux_arm.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'dart:async';
22

33
import 'package:args/command_runner.dart';
4+
import 'package:path/path.dart';
45

56
import '../../core/env.dart';
67
import 'common.dart';
@@ -18,7 +19,7 @@ class LinuxArmBuildCommand extends Command with BuildCommandCommonSteps {
1819

1920
await shell.run(
2021
"docker buildx build --platform=linux/arm64 "
21-
"-f .github/Dockerfile . "
22+
"-f ${join(cwd.path, ".github", "Dockerfile")} ${cwd.path} "
2223
"--build-arg FLUTTER_VERSION=${CliEnv.flutterVersion} "
2324
"--build-arg BUILD_VERSION=${CliEnv.channel == BuildChannel.nightly ? "nightly" : versionWithoutBuildNumber} "
2425
"-t krtirtho/spotube_linux_arm:latest "

0 commit comments

Comments
 (0)