From c5c6d9cd9927852a6bb501a927a02508cf968694 Mon Sep 17 00:00:00 2001 From: wayne warren Date: Mon, 10 Apr 2023 09:17:35 -0600 Subject: [PATCH] app/steam: fix steam license agreement --- app/steam/src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/steam/src/main.rs b/app/steam/src/main.rs index fc4c27f..04a5508 100644 --- a/app/steam/src/main.rs +++ b/app/steam/src/main.rs @@ -18,12 +18,13 @@ impl aspects::ContainerAspect for Steam { order: 91, content: r#"RUN dpkg --add-architecture i386 RUN sed -i -e 's|main|main contrib non-free|' /etc/apt/sources.list +RUN echo steam steam/question select "I AGREE" | sudo debconf-set-selections +RUN echo steam steam/license note '' | sudo debconf-set-selections RUN apt-get update && yes 'I AGREE' | apt-get install -y \ steam \ && apt-get purge --autoremove \ && rm -rf /var/lib/apt/lists/* \ - && rm -rf /src/*.deb -RUN chmod 4755 /opt/Signal/chrome-sandox"# + && rm -rf /src/*.deb"# .to_string(), }] } @@ -36,7 +37,7 @@ fn main() -> Result<()> { let version = env!("CARGO_PKG_VERSION"); let mut mgr = ContainerManager::default_debian( - "stream".to_string(), + "steam".to_string(), vec![format!("{}:{}", "waynr/steam", version)], vec![container_path], vec![