From ecaa92b8219ca9257e3227a982b5ff28c06c73fc Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Sat, 4 Feb 2023 17:35:49 -0500 Subject: [PATCH] Fix missing dependencies causing build failure in Docker --- backend/Dockerfile | 2 +- backend/create_docker_img.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 94a2a88..b80882d 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,5 @@ FROM ghcr.io/steamdeckhomebrew/holo-toolchain-rust:latest -RUN pacman -S --noconfirm cmake make +RUN pacman -S --noconfirm cmake make clang ENTRYPOINT [ "/backend/entrypoint.sh" ] diff --git a/backend/create_docker_img.sh b/backend/create_docker_img.sh index 4ff3064..56e59b6 100755 --- a/backend/create_docker_img.sh +++ b/backend/create_docker_img.sh @@ -1,4 +1,4 @@ #!/bin/bash # build docker container locally (for testing) -docker build -t powertools_backend . +docker build --pull --rm -t powertools_backend .