fix dockerfile arch extra newlines

This commit is contained in:
lukas-heiligenbrunner 2024-01-06 21:53:48 +01:00
parent 63eea3c822
commit 76fcdf5aac
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -22,6 +22,7 @@ class _BuildScreenState extends State<BuildScreen> {
Widget build(BuildContext context) {
return Scaffold(
body: APIBuilder<BuildProvider, Build, BuildDTO>(
key: const Key("Build on seperate page"),
dto: BuildDTO(buildID: widget.buildID),
interval: const Duration(seconds: 10),
onLoad: () => const Text("loading"),

View File

@ -31,6 +31,7 @@ class BuildsScreen extends StatelessWidget {
SizedBox(
width: double.infinity,
child: APIBuilder<BuildsProvider, List<Build>, Object>(
key: const Key("Builds on seperate screen"),
interval: const Duration(seconds: 10),
onLoad: () => const Text("no data"),
onData: (data) {