From 20db4257696ad444a9c8b70781d81fe92854a1e1 Mon Sep 17 00:00:00 2001
From: Felix Prasanna <fpx@mit.edu>
Date: Thu, 18 Jan 2024 13:12:43 -0500
Subject: [PATCH] add --noconfirm to pacman invocation

Doing yes | pacman -Syu fails as some command reads the output expecting
a number, but y is invalid.
---
 builder.Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/builder.Dockerfile b/builder.Dockerfile
index 0e2d3505c..3530812d9 100644
--- a/builder.Dockerfile
+++ b/builder.Dockerfile
@@ -2,8 +2,8 @@
 
 FROM archlinux
 
-RUN yes | pacman -Syu
-RUN yes | pacman -Sy git libseccomp wget gcc pkg-config parallel time
+RUN pacman -Syu --noconfirm
+RUN pacman -Sy --noconfirm git libseccomp wget gcc pkg-config parallel time
 
 # Download an initial version of Go
 RUN wget "https://go.dev/dl/go1.20.4.linux-amd64.tar.gz" && \