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 the built binary from the previous stage
|
||||||
COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled
|
COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled
|
||||||
|
|
||||||
RUN echo $'\
|
RUN echo $'\n\
|
||||||
[extra]\
|
[extra]\n\
|
||||||
Include = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf
|
Include = /etc/pacman.d/mirrorlist\n' >> /etc/pacman.conf
|
||||||
|
|
||||||
RUN pacman -Syyu --noconfirm
|
RUN pacman -Syyu --noconfirm
|
||||||
RUN pacman-key --init && pacman-key --populate
|
RUN pacman-key --init && pacman-key --populate
|
||||||
|
@ -22,6 +22,7 @@ class _BuildScreenState extends State<BuildScreen> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: APIBuilder<BuildProvider, Build, BuildDTO>(
|
body: APIBuilder<BuildProvider, Build, BuildDTO>(
|
||||||
|
key: const Key("Build on seperate page"),
|
||||||
dto: BuildDTO(buildID: widget.buildID),
|
dto: BuildDTO(buildID: widget.buildID),
|
||||||
interval: const Duration(seconds: 10),
|
interval: const Duration(seconds: 10),
|
||||||
onLoad: () => const Text("loading"),
|
onLoad: () => const Text("loading"),
|
||||||
|
@ -31,6 +31,7 @@ class BuildsScreen extends StatelessWidget {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
child: APIBuilder<BuildsProvider, List<Build>, Object>(
|
child: APIBuilder<BuildsProvider, List<Build>, Object>(
|
||||||
|
key: const Key("Builds on seperate screen"),
|
||||||
interval: const Duration(seconds: 10),
|
interval: const Duration(seconds: 10),
|
||||||
onLoad: () => const Text("no data"),
|
onLoad: () => const Text("no data"),
|
||||||
onData: (data) {
|
onData: (data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user