From 76fcdf5aac80ed6cf048cab281cf177f72a1758c Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Sat, 6 Jan 2024 21:53:48 +0100 Subject: [PATCH] fix dockerfile arch extra newlines --- Dockerfile | 6 +++--- frontend/lib/screens/build_screen.dart | 1 + frontend/lib/screens/builds_screen.dart | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a953ebc..3ab2e76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,9 +27,9 @@ FROM archlinux # Copy the built binary from the previous stage COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled -RUN echo $'\ -[extra]\ -Include = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf +RUN echo $'\n\ +[extra]\n\ +Include = /etc/pacman.d/mirrorlist\n' >> /etc/pacman.conf RUN pacman -Syyu --noconfirm RUN pacman-key --init && pacman-key --populate diff --git a/frontend/lib/screens/build_screen.dart b/frontend/lib/screens/build_screen.dart index b76e75b..47e58d8 100644 --- a/frontend/lib/screens/build_screen.dart +++ b/frontend/lib/screens/build_screen.dart @@ -22,6 +22,7 @@ class _BuildScreenState extends State { Widget build(BuildContext context) { return Scaffold( body: APIBuilder( + key: const Key("Build on seperate page"), dto: BuildDTO(buildID: widget.buildID), interval: const Duration(seconds: 10), onLoad: () => const Text("loading"), diff --git a/frontend/lib/screens/builds_screen.dart b/frontend/lib/screens/builds_screen.dart index 368e39a..471791e 100644 --- a/frontend/lib/screens/builds_screen.dart +++ b/frontend/lib/screens/builds_screen.dart @@ -31,6 +31,7 @@ class BuildsScreen extends StatelessWidget { SizedBox( width: double.infinity, child: APIBuilder, Object>( + key: const Key("Builds on seperate screen"), interval: const Duration(seconds: 10), onLoad: () => const Text("no data"), onData: (data) {