fix dockerfile arch extra newlines
This commit is contained in:
parent
63eea3c822
commit
76fcdf5aac
@ -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
|
||||
|
@ -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"),
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user